summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:36 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:36 +0000
commitef5d0b5e97ec8e6fa395d377b09aa7755e345b4f (patch)
tree27916256fdeeb57d10d2f3d6948be5d71a703215 /packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
parent76e0736e7fcfeb179779e49c05604464b1ccd704 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py')
-rw-r--r--packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py b/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
index e717e2ecdd90c..afca8bcc0ded7 100644
--- a/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
+++ b/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
@@ -31,6 +31,11 @@ class TestIndirectFunctions(TestBase):
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)
+ if self.platformIsDarwin():
+ lib1 = os.path.join(os.getcwd(), 'libindirect.dylib')
+ lib2 = os.path.join(os.getcwd(), 'libreexport.dylib')
+ self.registerSharedLibrariesWithTarget(target, [lib1, lib2])
+
self.main_source_spec = lldb.SBFileSpec(self.main_source)
break1 = target.BreakpointCreateBySourceRegex(