[clang] Add tracking source deduction guide for the explicitly-written
[llvm-project.git] / lldb / test / API / lang / objcxx / objc-from-cpp-frames-without-debuginfo / TestObjCFromCppFramesWithoutDebugInfo.py
blob497c0dd128f4894f19101d1dd763ca8447c96814
1 """
2 Test that the the expression parser enables ObjC support
3 when stopped in a C++ frame without debug-info.
4 """
6 import lldb
7 from lldbsuite.test.decorators import *
8 from lldbsuite.test.lldbtest import *
9 from lldbsuite.test import lldbutil
12 class TestObjCFromCppFramesWithoutDebugInfo(TestBase):
13 def test(self):
14 self.build()
15 (_, process, _, _) = lldbutil.run_to_name_breakpoint(self, "main")
17 self.assertState(process.GetState(), lldb.eStateStopped)
19 # Tests that we can use builtin Objective-C identifiers.
20 self.expect("expr id", error=False)
22 # Tests that we can lookup Objective-C decls in the ObjC runtime plugin.
23 self.expect_expr(
24 "NSString *c; c == nullptr", result_value="true", result_type="bool"