AddressSpace.hpp (302450) | AddressSpace.hpp (308006) |
---|---|
1//===------------------------- AddressSpace.hpp ---------------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is dual licensed under the MIT and the University of Illinois Open 6// Source Licenses. See LICENSE.TXT for details. 7// 8// --- 360 unchanged lines hidden (view full) --- 369 info.arm_section = (uintptr_t)(&__exidx_start); 370 info.arm_section_length = (uintptr_t)(&__exidx_end - &__exidx_start); 371 #else 372 int length = 0; 373 info.arm_section = (uintptr_t) dl_unwind_find_exidx( 374 (_Unwind_Ptr) targetAddr, &length); 375 info.arm_section_length = (uintptr_t)length; 376 #endif | 1//===------------------------- AddressSpace.hpp ---------------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is dual licensed under the MIT and the University of Illinois Open 6// Source Licenses. See LICENSE.TXT for details. 7// 8// --- 360 unchanged lines hidden (view full) --- 369 info.arm_section = (uintptr_t)(&__exidx_start); 370 info.arm_section_length = (uintptr_t)(&__exidx_end - &__exidx_start); 371 #else 372 int length = 0; 373 info.arm_section = (uintptr_t) dl_unwind_find_exidx( 374 (_Unwind_Ptr) targetAddr, &length); 375 info.arm_section_length = (uintptr_t)length; 376 #endif |
377 _LIBUNWIND_TRACE_UNWINDING("findUnwindSections: section %X length %x\n", | 377 _LIBUNWIND_TRACE_UNWINDING("findUnwindSections: section %X length %x", |
378 info.arm_section, info.arm_section_length); 379 if (info.arm_section && info.arm_section_length) 380 return true; 381#elif _LIBUNWIND_SUPPORT_DWARF_UNWIND 382#if _LIBUNWIND_SUPPORT_DWARF_INDEX 383 struct dl_iterate_cb_data { 384 LocalAddressSpace *addressSpace; 385 UnwindInfoSections *sects; --- 214 unchanged lines hidden --- | 378 info.arm_section, info.arm_section_length); 379 if (info.arm_section && info.arm_section_length) 380 return true; 381#elif _LIBUNWIND_SUPPORT_DWARF_UNWIND 382#if _LIBUNWIND_SUPPORT_DWARF_INDEX 383 struct dl_iterate_cb_data { 384 LocalAddressSpace *addressSpace; 385 UnwindInfoSections *sects; --- 214 unchanged lines hidden --- |