Changeset View
Changeset View
Standalone View
Standalone View
src/UnwindCursor.hpp
Show First 20 Lines • Show All 922 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
#if defined(_LIBUNWIND_TARGET_MIPS_NEWABI) | #if defined(_LIBUNWIND_TARGET_MIPS_NEWABI) | ||||
int stepWithCompactEncoding(Registers_mips_newabi &) { | int stepWithCompactEncoding(Registers_mips_newabi &) { | ||||
return UNW_EINVAL; | return UNW_EINVAL; | ||||
} | } | ||||
#endif | #endif | ||||
#if defined(_LIBUNWIND_TARGET_SPARC) | |||||
int stepWithCompactEncoding(Registers_sparc &) { return UNW_EINVAL; } | |||||
#endif | |||||
bool compactSaysUseDwarf(uint32_t *offset=NULL) const { | bool compactSaysUseDwarf(uint32_t *offset=NULL) const { | ||||
R dummy; | R dummy; | ||||
return compactSaysUseDwarf(dummy, offset); | return compactSaysUseDwarf(dummy, offset); | ||||
} | } | ||||
#if defined(_LIBUNWIND_TARGET_X86_64) | #if defined(_LIBUNWIND_TARGET_X86_64) | ||||
bool compactSaysUseDwarf(Registers_x86_64 &, uint32_t *offset) const { | bool compactSaysUseDwarf(Registers_x86_64 &, uint32_t *offset) const { | ||||
if ((_info.format & UNWIND_X86_64_MODE_MASK) == UNWIND_X86_64_MODE_DWARF) { | if ((_info.format & UNWIND_X86_64_MODE_MASK) == UNWIND_X86_64_MODE_DWARF) { | ||||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | #if defined(_LIBUNWIND_TARGET_MIPS_O32) | ||||
} | } | ||||
#endif | #endif | ||||
#if defined(_LIBUNWIND_TARGET_MIPS_NEWABI) | #if defined(_LIBUNWIND_TARGET_MIPS_NEWABI) | ||||
bool compactSaysUseDwarf(Registers_mips_newabi &, uint32_t *) const { | bool compactSaysUseDwarf(Registers_mips_newabi &, uint32_t *) const { | ||||
return true; | return true; | ||||
} | } | ||||
#endif | #endif | ||||
#if defined(_LIBUNWIND_TARGET_SPARC) | |||||
bool compactSaysUseDwarf(Registers_sparc &, uint32_t *) const { return true; } | |||||
#endif | |||||
#endif // defined(_LIBUNWIND_SUPPORT_COMPACT_UNWIND) | #endif // defined(_LIBUNWIND_SUPPORT_COMPACT_UNWIND) | ||||
#if defined(_LIBUNWIND_SUPPORT_DWARF_UNWIND) | #if defined(_LIBUNWIND_SUPPORT_DWARF_UNWIND) | ||||
compact_unwind_encoding_t dwarfEncoding() const { | compact_unwind_encoding_t dwarfEncoding() const { | ||||
R dummy; | R dummy; | ||||
return dwarfEncoding(dummy); | return dwarfEncoding(dummy); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | #if defined (_LIBUNWIND_TARGET_MIPS_O32) | ||||
} | } | ||||
#endif | #endif | ||||
#if defined (_LIBUNWIND_TARGET_MIPS_NEWABI) | #if defined (_LIBUNWIND_TARGET_MIPS_NEWABI) | ||||
compact_unwind_encoding_t dwarfEncoding(Registers_mips_newabi &) const { | compact_unwind_encoding_t dwarfEncoding(Registers_mips_newabi &) const { | ||||
return 0; | return 0; | ||||
} | } | ||||
#endif | #endif | ||||
#if defined(_LIBUNWIND_TARGET_SPARC) | |||||
compact_unwind_encoding_t dwarfEncoding(Registers_sparc &) const { return 0; } | |||||
#endif | |||||
#endif // defined(_LIBUNWIND_SUPPORT_DWARF_UNWIND) | #endif // defined(_LIBUNWIND_SUPPORT_DWARF_UNWIND) | ||||
#if defined(_LIBUNWIND_SUPPORT_SEH_UNWIND) | #if defined(_LIBUNWIND_SUPPORT_SEH_UNWIND) | ||||
// For runtime environments using SEH unwind data without Windows runtime | // For runtime environments using SEH unwind data without Windows runtime | ||||
// support. | // support. | ||||
pint_t getLastPC() const { /* FIXME: Implement */ return 0; } | pint_t getLastPC() const { /* FIXME: Implement */ return 0; } | ||||
void setLastPC(pint_t pc) { /* FIXME: Implement */ } | void setLastPC(pint_t pc) { /* FIXME: Implement */ } | ||||
RUNTIME_FUNCTION *lookUpSEHUnwindInfo(pint_t pc, pint_t *base) { | RUNTIME_FUNCTION *lookUpSEHUnwindInfo(pint_t pc, pint_t *base) { | ||||
▲ Show 20 Lines • Show All 848 Lines • Show Last 20 Lines |