libunwind: Fix return type of DwarfFDECache<A>::findFDE()

https://github.com/llvm/llvm-project/pull/146308
This commit is contained in:
Alex Rønne Petersen 2025-06-30 06:40:17 +02:00
parent e837765956
commit 197fb26da0
No known key found for this signature in database

View file

@ -150,7 +150,7 @@ bool DwarfFDECache<A>::_registeredForDyldUnloads = false;
#endif
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;
_LIBUNWIND_LOG_IF_FALSE(_lock.lock_shared());
for (entry *p = _buffer; p < _bufferUsed; ++p) {