commit 197fb26da0b8bb068fc8b52931870f97661b797d (tree)
parent e8377659560497beb36ec1f981b024f74292c1b9
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Mon, 30 Jun 2025 06:40:17 +0200
libunwind: Fix return type of DwarfFDECache<A>::findFDE()
https://github.com/llvm/llvm-project/pull/146308
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libunwind/src/UnwindCursor.hpp b/lib/libunwind/src/UnwindCursor.hpp
@@ -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) {