summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/Unwind/UnwindCursor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxxabi/src/Unwind/UnwindCursor.hpp')
-rw-r--r--libcxxabi/src/Unwind/UnwindCursor.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcxxabi/src/Unwind/UnwindCursor.hpp b/libcxxabi/src/Unwind/UnwindCursor.hpp
index 6817485d633..b4d413f4f32 100644
--- a/libcxxabi/src/Unwind/UnwindCursor.hpp
+++ b/libcxxabi/src/Unwind/UnwindCursor.hpp
@@ -29,6 +29,7 @@
#include "CompactUnwinder.hpp"
#include "config.h"
#include "DwarfInstructions.hpp"
+#include "EHHeaderParser.hpp"
#include "libunwind.h"
#include "Registers.hpp"
#include "Unwind-EHABI.h"
@@ -829,8 +830,9 @@ bool UnwindCursor<A, R>::getInfoFromDwarfSection(pint_t pc,
}
#if _LIBUNWIND_SUPPORT_DWARF_INDEX
if (!foundFDE && (sects.dwarf_index_section != 0)) {
- // Have eh_frame_hdr section which is index into dwarf section.
- // TO DO: implement index search
+ foundFDE = EHHeaderParser<A>::findFDE(
+ _addressSpace, pc, sects.dwarf_index_section,
+ (uint32_t)sects.dwarf_index_section_length, &fdeInfo, &cieInfo);
}
#endif
if (!foundFDE) {
OpenPOWER on IntegriCloud