summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/frame
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-08 01:01:45 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-08 01:01:45 +0000
commitf4e9a4c67619747d50cce9fa1f69b568459ab0b1 (patch)
tree3fc8f2d48499bf61da6485e04593c92219c331e9 /lldb/test/python_api/frame
parent7b242381b8cf1878d669922d5a93b42eb59f526f (diff)
downloadbcm5719-llvm-f4e9a4c67619747d50cce9fa1f69b568459ab0b1.tar.gz
bcm5719-llvm-f4e9a4c67619747d50cce9fa1f69b568459ab0b1.zip
Rearranged the debug output to come before the assert for function name 'outer_inline'.
Right now clang-139 fails the test. llvm-svn: 134673
Diffstat (limited to 'lldb/test/python_api/frame')
-rw-r--r--lldb/test/python_api/frame/inlines/TestInlinedFrame.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
index b6b1e6d3fb6..2ccbbc642a1 100644
--- a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
+++ b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
@@ -47,16 +47,16 @@ class InlinedFrameAPITestCase(TestBase):
self.assertTrue(process.GetState() == lldb.eStateStopped,
PROCESS_STOPPED)
- # The first breakpoint should correspond to an inlined call frame.
- frame0 = process.GetThreadAtIndex(0).GetFrameAtIndex(0)
- self.assertTrue(frame0.IsInlined() and
- frame0.GetFunctionName() == 'outer_inline')
-
self.runCmd("bt")
if self.TraceOn():
print "Full stack traces when first stopped on the breakpoint 'outer_inline':"
import lldbutil
- print lldbutil.print_stacktraces(process)
+ print lldbutil.print_stacktraces(process, string_buffer=True)
+
+ # The first breakpoint should correspond to an inlined call frame.
+ frame0 = process.GetThreadAtIndex(0).GetFrameAtIndex(0)
+ self.assertTrue(frame0.IsInlined() and
+ frame0.GetFunctionName() == 'outer_inline')
if __name__ == '__main__':
OpenPOWER on IntegriCloud