2 Test that we can p *objcObject
8 from lldbsuite.test.decorators import *
9 from lldbsuite.test.lldbtest import *
10 from lldbsuite.test import lldbutil
13 class PersistObjCPointeeType(TestBase):
15 mydir = TestBase.compute_mydir(__file__)
18 # Call super's setUp().
20 # Find the line number to break for main.cpp.
21 self.line = line_number('main.m', '// break here')
24 @skipIf(archs=["i386", "i686"])
25 @skipIf(debug_info="gmodules", archs=['arm64', 'armv7', 'armv7k', 'arm64e', 'arm64_32']) # compile error with gmodules for iOS
27 """Test that we can p *objcObject"""
33 # Execute the cleanup function during test case tear down.
34 self.addTearDownHook(cleanup)
36 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
38 lldbutil.run_break_set_by_file_and_line(
39 self, "main.m", self.line, loc_exact=True)
41 self.runCmd("run", RUN_SUCCEEDED)
43 self.expect("p *self", substrs=['_sc_name = nil',