[AMDGPU] Add True16 register classes.
[llvm-project.git] / lldb / test / API / commands / expression / pr35310 / TestExprsBug35310.py
blobea609367bc5b0c3c2cd0ff2d628015f567b57eb3
1 import lldb
2 from lldbsuite.test.decorators import *
3 from lldbsuite.test.lldbtest import *
4 from lldbsuite.test import lldbutil
7 class ExprBug35310(TestBase):
8 def setUp(self):
9 # Call super's setUp().
10 TestBase.setUp(self)
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.
20 """
21 self.build()
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")