File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
lldb/test/API/macosx/branch-islands Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -41,21 +41,25 @@ def do_test(self):
4141 stream = lldb .SBStream ()
4242 print ("Branch island symbols: " )
4343 syms [0 ].GetDescription (stream )
44- for i in range (0 ,6 ):
44+ for i in range (0 , 6 ):
4545 for sep in ["" , "." ]:
46- syms = target .FindSymbols (f"foo.island{ sep } { i } " , lldb .eSymbolTypeCode )
46+ syms = target .FindSymbols (
47+ f"foo.island{ sep } { i } " , lldb .eSymbolTypeCode
48+ )
4749 if len (syms ) > 0 :
4850 stream .Print ("\n " )
4951 syms [0 ].GetDescription (stream )
50-
52+
5153 print (stream .GetData ())
5254 print (f"Start backtrace:" )
5355 print (trace_before )
5456 print (f"\n 'main' disassembly:\n { lldbutil .disassemble (target , func_before )} " )
5557 print ("\n End backtrace:\n " )
5658 lldbutil .print_stacktrace (thread )
57- print (f"\n Stop disassembly:\n { lldbutil .disassemble (target , stop_frame .function )} " )
58-
59+ print (
60+ f"\n Stop disassembly:\n { lldbutil .disassemble (target , stop_frame .function )} "
61+ )
62+
5963 self .assertIn ("foo" , stop_frame .name , "Stepped into foo" )
6064 var = stop_frame .FindVariable ("a_variable_in_foo" )
6165 self .assertTrue (var .IsValid (), "Found the variable in foo" )
You can’t perform that action at this time.
0 commit comments