forked from OSchip/llvm-project
Add assert to check the SBModule of SBSymbolContextList returned from SBTarget.FindFunctions().
llvm-svn: 134651
This commit is contained in:
parent
e789755db7
commit
f8ae3c7396
|
@ -134,6 +134,7 @@ class TargetAPITestCase(TestBase):
|
|||
self.assertTrue(num == 1 and list.GetSize() == 1)
|
||||
|
||||
for sc in list:
|
||||
self.assertTrue(sc.GetModule().GetFileSpec().GetFilename() == exe_name)
|
||||
self.assertTrue(sc.GetSymbol().GetName() == 'c')
|
||||
|
||||
def get_description(self):
|
||||
|
|
Loading…
Reference in New Issue