Python API changes: SBValue.IsPtrType() -> SBValue.IsPointerType().

SBFrame print representation: idx: 0 -> #0

llvm-svn: 117924
This commit is contained in:
Johnny Chen 2010-11-01 16:08:47 +00:00
parent 5b373341fc
commit 6713a9b317
2 changed files with 8 additions and 8 deletions

View File

@ -145,7 +145,7 @@ class ArrayTypesTestCase(TestBase):
self.expect(frm,
"Frame looks good with correct index %d" % frame.GetFrameID(),
exe=False,
substrs = ["idx = %d" % frame.GetFrameID()])
substrs = ["#%d" % frame.GetFrameID()])
# Lookup the "strings" string array variable and sanity check its print
# representation.

View File

@ -781,11 +781,11 @@ class TestBase(unittest2.TestCase):
err = sys.stderr
err.write(val.GetName() + ":\n")
err.write('\t' + "TypeName -> " + val.GetTypeName() + '\n')
err.write('\t' + "ByteSize -> " + str(val.GetByteSize()) + '\n')
err.write('\t' + "NumChildren -> " + str(val.GetNumChildren()) + '\n')
err.write('\t' + "Value -> " + str(val.GetValue(frame)) + '\n')
err.write('\t' + "Summary -> " + str(val.GetSummary(frame)) + '\n')
err.write('\t' + "IsPtrType -> " + str(val.TypeIsPtrType()) + '\n')
err.write('\t' + "Location -> " + val.GetLocation(frame) + '\n')
err.write('\t' + "TypeName -> " + val.GetTypeName() + '\n')
err.write('\t' + "ByteSize -> " + str(val.GetByteSize()) + '\n')
err.write('\t' + "NumChildren -> " + str(val.GetNumChildren()) + '\n')
err.write('\t' + "Value -> " + str(val.GetValue(frame)) + '\n')
err.write('\t' + "Summary -> " + str(val.GetSummary(frame)) + '\n')
err.write('\t' + "IsPointerType -> " + str(val.TypeIsPointerType()) + '\n')
err.write('\t' + "Location -> " + val.GetLocation(frame) + '\n')