Rearranged the debug output to come before the assert for function name 'outer_inline'.
Right now clang-139 fails the test.
llvm-svn: 134673
diff --git a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
index b6b1e6d..2ccbbc6 100644
--- a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
+++ b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py
@@ -47,16 +47,16 @@
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__':