Changeset View
Changeset View
Standalone View
Standalone View
source/Symbol/UnwindTable.cpp
Show First 20 Lines • Show All 176 Lines • ▼ Show 20 Lines | CompactUnwindInfo *UnwindTable::GetCompactUnwindInfo() { | ||||
return m_compact_unwind_up.get(); | return m_compact_unwind_up.get(); | ||||
} | } | ||||
ArmUnwindInfo *UnwindTable::GetArmUnwindInfo() { | ArmUnwindInfo *UnwindTable::GetArmUnwindInfo() { | ||||
Initialize(); | Initialize(); | ||||
return m_arm_unwind_up.get(); | return m_arm_unwind_up.get(); | ||||
} | } | ||||
SymbolFile *UnwindTable::GetSymbolFile() { | SymbolFile *UnwindTable::GetSymbolFile() { return m_module.GetSymbolFile(); } | ||||
if (SymbolVendor *vendor = m_module.GetSymbolVendor()) | |||||
return vendor->GetSymbolFile(); | |||||
return nullptr; | |||||
} | |||||
ArchSpec UnwindTable::GetArchitecture() { return m_module.GetArchitecture(); } | ArchSpec UnwindTable::GetArchitecture() { return m_module.GetArchitecture(); } | ||||
bool UnwindTable::GetAllowAssemblyEmulationUnwindPlans() { | bool UnwindTable::GetAllowAssemblyEmulationUnwindPlans() { | ||||
if (ObjectFile *object_file = m_module.GetObjectFile()) | if (ObjectFile *object_file = m_module.GetObjectFile()) | ||||
return object_file->AllowAssemblyEmulationUnwindPlans(); | return object_file->AllowAssemblyEmulationUnwindPlans(); | ||||
return false; | return false; | ||||
} | } |