forked from OSchip/llvm-project
[TestIndirectSymbol] This tests an Apple-specific feature.
Remove a redundant check.
This commit is contained in:
parent
48e5eedab3
commit
d606dcc652
|
@ -28,10 +28,9 @@ class TestIndirectFunctions(TestBase):
|
||||||
target = self.dbg.CreateTarget(exe)
|
target = self.dbg.CreateTarget(exe)
|
||||||
self.assertTrue(target, VALID_TARGET)
|
self.assertTrue(target, VALID_TARGET)
|
||||||
|
|
||||||
if self.platformIsDarwin():
|
lib1 = self.getBuildArtifact('libindirect.dylib')
|
||||||
lib1 = self.getBuildArtifact('libindirect.dylib')
|
lib2 = self.getBuildArtifact('libreexport.dylib')
|
||||||
lib2 = self.getBuildArtifact('libreexport.dylib')
|
self.registerSharedLibrariesWithTarget(target, [lib1, lib2])
|
||||||
self.registerSharedLibrariesWithTarget(target, [lib1, lib2])
|
|
||||||
|
|
||||||
self.main_source_spec = lldb.SBFileSpec(self.main_source)
|
self.main_source_spec = lldb.SBFileSpec(self.main_source)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue