2 from lldbsuite
.test
.decorators
import *
3 from lldbsuite
.test
.lldbtest
import *
4 from lldbsuite
.test
import lldbutil
7 class ExprBug35310(TestBase
):
9 # Call super's setUp().
12 self
.main_source
= "main.cpp"
13 self
.main_source_spec
= lldb
.SBFileSpec(self
.main_source
)
15 def test_issue35310(self
):
16 """Test invoking functions with non-standard linkage names.
18 The GNU abi_tag extension used by libstdc++ is a common source
19 of these, but they could originate from other reasons as well.
23 lldbutil
.run_to_source_breakpoint(self
, "// Break here", self
.main_source_spec
)
25 self
.expect_expr("a.test_abi_tag()", result_value
="1")
26 self
.expect_expr("a.test_asm_name()", result_value
="2")