forked from OSchip/llvm-project
Python API changes: SBValue.IsPtrType() -> SBValue.IsPointerType().
SBFrame print representation: idx: 0 -> #0 llvm-svn: 117924
This commit is contained in:
parent
5b373341fc
commit
6713a9b317
|
@ -145,7 +145,7 @@ class ArrayTypesTestCase(TestBase):
|
||||||
self.expect(frm,
|
self.expect(frm,
|
||||||
"Frame looks good with correct index %d" % frame.GetFrameID(),
|
"Frame looks good with correct index %d" % frame.GetFrameID(),
|
||||||
exe=False,
|
exe=False,
|
||||||
substrs = ["idx = %d" % frame.GetFrameID()])
|
substrs = ["#%d" % frame.GetFrameID()])
|
||||||
|
|
||||||
# Lookup the "strings" string array variable and sanity check its print
|
# Lookup the "strings" string array variable and sanity check its print
|
||||||
# representation.
|
# representation.
|
||||||
|
|
|
@ -781,11 +781,11 @@ class TestBase(unittest2.TestCase):
|
||||||
|
|
||||||
err = sys.stderr
|
err = sys.stderr
|
||||||
err.write(val.GetName() + ":\n")
|
err.write(val.GetName() + ":\n")
|
||||||
err.write('\t' + "TypeName -> " + val.GetTypeName() + '\n')
|
err.write('\t' + "TypeName -> " + val.GetTypeName() + '\n')
|
||||||
err.write('\t' + "ByteSize -> " + str(val.GetByteSize()) + '\n')
|
err.write('\t' + "ByteSize -> " + str(val.GetByteSize()) + '\n')
|
||||||
err.write('\t' + "NumChildren -> " + str(val.GetNumChildren()) + '\n')
|
err.write('\t' + "NumChildren -> " + str(val.GetNumChildren()) + '\n')
|
||||||
err.write('\t' + "Value -> " + str(val.GetValue(frame)) + '\n')
|
err.write('\t' + "Value -> " + str(val.GetValue(frame)) + '\n')
|
||||||
err.write('\t' + "Summary -> " + str(val.GetSummary(frame)) + '\n')
|
err.write('\t' + "Summary -> " + str(val.GetSummary(frame)) + '\n')
|
||||||
err.write('\t' + "IsPtrType -> " + str(val.TypeIsPtrType()) + '\n')
|
err.write('\t' + "IsPointerType -> " + str(val.TypeIsPointerType()) + '\n')
|
||||||
err.write('\t' + "Location -> " + val.GetLocation(frame) + '\n')
|
err.write('\t' + "Location -> " + val.GetLocation(frame) + '\n')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue