1# coding=utf8 2import lldb 3from lldbsuite.test.lldbtest import * 4import lldbsuite.test.lldbutil as lldbutil 5from lldbsuite.test.decorators import * 6 7 8class TestUnicodeSymbols(TestBase): 9 10 @skipIf(compiler="clang", compiler_version=['<', '7.0']) 11 def test_union_members(self): 12 self.build() 13 spec = lldb.SBModuleSpec() 14 spec.SetFileSpec(lldb.SBFileSpec(self.getBuildArtifact("a.out"))) 15 module = lldb.SBModule(spec) 16 self.assertTrue(module.IsValid()) 17 mytype = module.FindFirstType("foobár") 18 self.assertTrue(mytype.IsValid()) 19 self.assertTrue(mytype.IsPointerType()) 20