libunwind: Fix return type of DwarfFDECache<A>::findFDE()
https://github.com/llvm/llvm-project/pull/146308
This commit is contained in:
2
lib/libunwind/src/UnwindCursor.hpp
vendored
2
lib/libunwind/src/UnwindCursor.hpp
vendored
@@ -150,7 +150,7 @@ bool DwarfFDECache<A>::_registeredForDyldUnloads = false;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
template <typename A>
|
template <typename A>
|
||||||
typename A::pint_t DwarfFDECache<A>::findFDE(pint_t mh, pint_t pc) {
|
typename DwarfFDECache<A>::pint_t DwarfFDECache<A>::findFDE(pint_t mh, pint_t pc) {
|
||||||
pint_t result = 0;
|
pint_t result = 0;
|
||||||
_LIBUNWIND_LOG_IF_FALSE(_lock.lock_shared());
|
_LIBUNWIND_LOG_IF_FALSE(_lock.lock_shared());
|
||||||
for (entry *p = _buffer; p < _bufferUsed; ++p) {
|
for (entry *p = _buffer; p < _bufferUsed; ++p) {
|
||||||
|
|||||||
Reference in New Issue
Block a user