summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2015-09-02 01:59:14 +0000
committerJim Ingham <jingham@apple.com>2015-09-02 01:59:14 +0000
commitaa816b8f3bcd2475afddbaef591042eddcf9ab1e (patch)
tree46ffbc5e427cc5a5d78ca933bb6436ff04bf626c /lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
parentb5c2fd72571203df453b873c26b4a027af44d5b1 (diff)
downloadbcm5719-llvm-aa816b8f3bcd2475afddbaef591042eddcf9ab1e.tar.gz
bcm5719-llvm-aa816b8f3bcd2475afddbaef591042eddcf9ab1e.zip
Move more functionality from the LanguageRuntimes to the Languages.
llvm-svn: 246616
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
index 7096b98e1c2..fcbbf2314db 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
@@ -12,12 +12,13 @@
#include "lldb/Core/Mangled.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/Stream.h"
+#include "lldb/Core/StreamString.h"
#include "lldb/Core/Timer.h"
#include "lldb/Host/StringConvert.h"
#include "lldb/Symbol/CompileUnit.h"
#include "lldb/Symbol/LineTable.h"
#include "lldb/Symbol/ObjectFile.h"
-#include "lldb/Target/ObjCLanguageRuntime.h"
+#include "Plugins/Language/ObjC/ObjCLanguage.h"
#include "DWARFDebugAbbrev.h"
#include "DWARFDebugAranges.h"
@@ -815,9 +816,7 @@ DWARFCompileUnit::Index (const uint32_t cu_idx,
{
if (name)
{
- // Note, this check is also done in ParseMethodName, but since this is a hot loop, we do the
- // simple inlined check outside the call.
- ObjCLanguageRuntime::MethodName objc_method(name, true);
+ ObjCLanguage::MethodName objc_method(name, true);
if (objc_method.IsValid(true))
{
ConstString objc_class_name_with_category (objc_method.GetClassNameWithCategory());
OpenPOWER on IntegriCloud