Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / macosx / format / TestFunctionNameWithoutArgs.py
blob88d2e210bccf713940f4a55bdd9f736cb17b95e7
1 import lldb
2 from lldbsuite.test.decorators import *
3 from lldbsuite.test.lldbtest import *
6 class TestFunctionNameWithoutArgs(TestBase):
7 @skipUnlessDarwin
8 @no_debug_info_test
9 def test_function_name_without_args(self):
10 self.build()
11 target = self.createTestTarget()
12 target.LaunchSimple(None, None, self.get_process_working_directory())
14 self.runCmd("run", RUN_SUCCEEDED)
15 self.expect(
16 "bt",
17 substrs=[
18 "stop reason = hit program assert",
19 "libsystem_kernel.dylib`__pthread_kill",
22 self.runCmd(
23 'settings set frame-format "frame #${frame.index}: ${function.name-without-args}\n"'
25 self.expect(
26 "bt",
27 substrs=["stop reason = hit program assert", "frame #0: __pthread_kill"],