[Lldb-commits] [lldb] r176210 - Added eSymbolTypeResolver to a few switch statements that needed it.
Greg Clayton
gclayton at apple.com
Wed Feb 27 13:16:04 PST 2013
Author: gclayton
Date: Wed Feb 27 15:16:04 2013
New Revision: 176210
URL: http://llvm.org/viewvc/llvm-project?rev=176210&view=rev
Log:
Added eSymbolTypeResolver to a few switch statements that needed it.
Modified:
lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
lldb/trunk/source/Symbol/ObjectFile.cpp
Modified: lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp?rev=176210&r1=176209&r2=176210&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp Wed Feb 27 15:16:04 2013
@@ -711,6 +711,7 @@ ObjectFileMachO::GetAddressClass (lldb::
case eSymbolTypeCode:
case eSymbolTypeTrampoline:
+ case eSymbolTypeResolver:
if (m_header.cputype == llvm::MachO::CPUTypeARM)
{
// For ARM we have a bit in the n_desc field of the symbol
Modified: lldb/trunk/source/Symbol/ObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ObjectFile.cpp?rev=176210&r1=176209&r2=176210&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ObjectFile.cpp (original)
+++ lldb/trunk/source/Symbol/ObjectFile.cpp Wed Feb 27 15:16:04 2013
@@ -341,6 +341,7 @@ ObjectFile::GetAddressClass (addr_t file
case eSymbolTypeAbsolute: return eAddressClassUnknown;
case eSymbolTypeCode: return eAddressClassCode;
case eSymbolTypeTrampoline: return eAddressClassCode;
+ case eSymbolTypeResolver: return eAddressClassCode;
case eSymbolTypeData: return eAddressClassData;
case eSymbolTypeRuntime: return eAddressClassRuntime;
case eSymbolTypeException: return eAddressClassRuntime;
More information about the lldb-commits
mailing list