[mlir][acc] Introduce MappableType interface (#122146)
[llvm-project.git] / lldb / test / API / lang / objc / languageinfo / TestObjCLanguageSpecificData.py
blob5558abed929dacd223fd83a837902c8d16c685b6
1 import lldb
2 from lldbsuite.test.decorators import *
3 from lldbsuite.test.lldbtest import *
4 from lldbsuite.test import lldbutil
7 class ObjCiVarIMPTestCase(TestBase):
8 @skipUnlessDarwin
9 @no_debug_info_test
10 def test_imp_ivar_type(self):
11 self.build()
12 target, process, thread, bkpt = lldbutil.run_to_name_breakpoint(self, "main")
13 frame = thread.GetFrameAtIndex(0)
14 lang_info = frame.GetLanguageSpecificData()
15 version = lang_info.GetValueForKey("Objective-C runtime version")
16 self.assertEqual(version.GetIntegerValue(), 2)