mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 14:05:49 -04:00

Re-enable TestUnicodeSymbols now that we use the in-tree dsymutil. This was disabled because the hashing of unicode symbols was out of sync between llvm (dsymutil) and lldb. llvm-svn: 331764
21 lines
614 B
Python
21 lines
614 B
Python
# coding=utf8
|
|
import lldb
|
|
from lldbsuite.test.lldbtest import *
|
|
import lldbsuite.test.lldbutil as lldbutil
|
|
from lldbsuite.test.decorators import *
|
|
|
|
|
|
class TestUnicodeSymbols(TestBase):
|
|
|
|
mydir = TestBase.compute_mydir(__file__)
|
|
|
|
def test_union_members(self):
|
|
self.build()
|
|
spec = lldb.SBModuleSpec()
|
|
spec.SetFileSpec(lldb.SBFileSpec(self.getBuildArtifact("a.out")))
|
|
module = lldb.SBModule(spec)
|
|
self.assertTrue(module.IsValid())
|
|
mytype = module.FindFirstType("foobár")
|
|
self.assertTrue(mytype.IsValid())
|
|
self.assertTrue(mytype.IsPointerType())
|