[Lldb-commits] [lldb] r360169 - Fixup r360161

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue May 7 09:13:10 PDT 2019


Author: labath
Date: Tue May  7 09:13:10 2019
New Revision: 360169

URL: http://llvm.org/viewvc/llvm-project?rev=360169&view=rev
Log:
Fixup r360161

Remove SymbolVendorMacOSX from the test, as this plugin is not available
on non-mac platforms, and it does not seem to be necessary anyway.

Declare inlined-functions.yaml as an input of the test in cmake.

Modified:
    lldb/trunk/unittests/Symbol/CMakeLists.txt
    lldb/trunk/unittests/Symbol/TestLineEntry.cpp

Modified: lldb/trunk/unittests/Symbol/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Symbol/CMakeLists.txt?rev=360169&r1=360168&r2=360169&view=diff
==============================================================================
--- lldb/trunk/unittests/Symbol/CMakeLists.txt (original)
+++ lldb/trunk/unittests/Symbol/CMakeLists.txt Tue May  7 09:13:10 2019
@@ -18,5 +18,6 @@ add_lldb_unittest(SymbolTests
 
 set(test_inputs
   basic-call-frame-info.yaml
+  inlined-functions.yaml
   )
 add_unittest_inputs(SymbolTests "${test_inputs}")

Modified: lldb/trunk/unittests/Symbol/TestLineEntry.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Symbol/TestLineEntry.cpp?rev=360169&r1=360168&r2=360169&view=diff
==============================================================================
--- lldb/trunk/unittests/Symbol/TestLineEntry.cpp (original)
+++ lldb/trunk/unittests/Symbol/TestLineEntry.cpp Tue May  7 09:13:10 2019
@@ -14,7 +14,6 @@
 #include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
 #include "Plugins/SymbolFile/DWARF/DWARFASTParserClang.h"
 #include "Plugins/SymbolFile/DWARF/SymbolFileDWARF.h"
-#include "Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h"
 #include "TestingSupport/TestUtilities.h"
 #include "lldb/Symbol/ClangASTContext.h"
 
@@ -38,7 +37,6 @@ public:
     FileSystem::Initialize();
     HostInfo::Initialize();
     ObjectFileMachO::Initialize();
-    SymbolVendorMacOSX::Initialize();
     SymbolFileDWARF::Initialize();
     ClangASTContext::Initialize();
   }
@@ -46,7 +44,6 @@ public:
   void TearDown() override {
     ClangASTContext::Terminate();
     SymbolFileDWARF::Terminate();
-    SymbolVendorMacOSX::Terminate();
     ObjectFileMachO::Terminate();
     HostInfo::Terminate();
     FileSystem::Terminate();




More information about the lldb-commits mailing list