forked from OSchip/llvm-project
[lldb] Make UBSan tests remote ready
Add missing call to registerSanitizerLibrariesWithTarget.
This commit is contained in:
parent
6d2d73059f
commit
3a538de653
|
@ -27,9 +27,9 @@ class UbsanBasicTestCase(TestBase):
|
|||
def ubsan_tests(self):
|
||||
# Load the test
|
||||
exe = self.getBuildArtifact("a.out")
|
||||
self.expect(
|
||||
"file " + exe,
|
||||
patterns=["Current executable set to .*a.out"])
|
||||
target = self.dbg.CreateTarget(exe)
|
||||
self.assertTrue(target, VALID_TARGET)
|
||||
self.registerSanitizerLibrariesWithTarget(target)
|
||||
|
||||
self.runCmd("run")
|
||||
|
||||
|
|
|
@ -25,9 +25,9 @@ class UbsanUserExpressionTestCase(TestBase):
|
|||
def ubsan_tests(self):
|
||||
# Load the test
|
||||
exe = self.getBuildArtifact("a.out")
|
||||
self.expect(
|
||||
"file " + exe,
|
||||
patterns=["Current executable set to .*a.out"])
|
||||
target = self.dbg.CreateTarget(exe)
|
||||
self.assertTrue(target, VALID_TARGET)
|
||||
self.registerSanitizerLibrariesWithTarget(target)
|
||||
|
||||
self.runCmd("breakpoint set -f main.c -l %d" % self.line_breakpoint)
|
||||
|
||||
|
|
Loading…
Reference in New Issue