diff options
author | Stephen Wilson <wilsons@start.ca> | 2011-01-12 04:22:09 +0000 |
---|---|---|
committer | Stephen Wilson <wilsons@start.ca> | 2011-01-12 04:22:09 +0000 |
commit | c2204398e021beb313908ef837eeacb4329c572e (patch) | |
tree | 59dcaf0b3963961144b0f525607cc222daac4c5f | |
parent | e5b94a90cad728bfb714391eaf819759c23ba2b8 (diff) | |
download | bcm5719-llvm-c2204398e021beb313908ef837eeacb4329c572e.tar.gz bcm5719-llvm-c2204398e021beb313908ef837eeacb4329c572e.zip |
Initialize SymbolFileDWARFDebugMap on Apple platforms only.
SymbolFileDWARFDebugMap handles the parsing of OSO stabs which are effectively a
Mach-O specific feature and is incompatible with other object file formats.
llvm-svn: 123308
-rw-r--r-- | lldb/source/lldb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp index 137ad863d43..47f403d3fdf 100644 --- a/lldb/source/lldb.cpp +++ b/lldb/source/lldb.cpp @@ -71,7 +71,6 @@ lldb_private::Initialize () ObjectContainerBSDArchive::Initialize(); ObjectFileELF::Initialize(); SymbolFileDWARF::Initialize(); - SymbolFileDWARFDebugMap::Initialize(); SymbolFileSymtab::Initialize(); UnwindAssemblyProfiler_x86::Initialize(); ArchDefaultUnwindPlan_x86::Initialize(); @@ -81,6 +80,7 @@ lldb_private::Initialize () ABIMacOSX_i386::Initialize(); ABISysV_x86_64::Initialize(); DynamicLoaderMacOSXDYLD::Initialize(); + SymbolFileDWARFDebugMap::Initialize(); ItaniumABILanguageRuntime::Initialize(); AppleObjCRuntimeV2::Initialize(); AppleObjCRuntimeV1::Initialize(); @@ -110,7 +110,6 @@ lldb_private::Terminate () ObjectContainerBSDArchive::Terminate(); ObjectFileELF::Terminate(); SymbolFileDWARF::Terminate(); - SymbolFileDWARFDebugMap::Terminate(); SymbolFileSymtab::Terminate(); UnwindAssemblyProfiler_x86::Terminate(); ArchDefaultUnwindPlan_x86::Terminate(); @@ -118,6 +117,7 @@ lldb_private::Terminate () #ifdef __APPLE__ DynamicLoaderMacOSXDYLD::Terminate(); + SymbolFileDWARFDebugMap::Terminate(); ItaniumABILanguageRuntime::Terminate(); AppleObjCRuntimeV2::Terminate(); AppleObjCRuntimeV1::Terminate(); |