[Lldb-commits] [lldb] d606dcc - [TestIndirectSymbol] This tests an Apple-specific feature.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Tue May 5 13:14:17 PDT 2020


Author: Davide Italiano
Date: 2020-05-05T13:14:05-07:00
New Revision: d606dcc65254b13e6238b69d8185d3667e850522

URL: https://github.com/llvm/llvm-project/commit/d606dcc65254b13e6238b69d8185d3667e850522
DIFF: https://github.com/llvm/llvm-project/commit/d606dcc65254b13e6238b69d8185d3667e850522.diff

LOG: [TestIndirectSymbol] This tests an Apple-specific feature.

Remove a redundant check.

Added: 
    

Modified: 
    lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py b/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
index e67611ef3692..c80fb748e41f 100644
--- a/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
+++ b/lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
@@ -28,10 +28,9 @@ def test_with_python_api(self):
         target = self.dbg.CreateTarget(exe)
         self.assertTrue(target, VALID_TARGET)
 
-        if self.platformIsDarwin():
-            lib1 = self.getBuildArtifact('libindirect.dylib')
-            lib2 = self.getBuildArtifact('libreexport.dylib')
-            self.registerSharedLibrariesWithTarget(target, [lib1, lib2])
+        lib1 = self.getBuildArtifact('libindirect.dylib')
+        lib2 = self.getBuildArtifact('libreexport.dylib')
+        self.registerSharedLibrariesWithTarget(target, [lib1, lib2])
 
         self.main_source_spec = lldb.SBFileSpec(self.main_source)
 


        


More information about the lldb-commits mailing list