File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ volatile int x;
22
33void __attribute__ ((noinline)) tail_call_sink() {
44 x++; // % self.filecheck("bt", "main.cpp", "-check-prefix=TAIL-CALL-SINK")
5- // TAIL-CALL-SINK: frame #0: 0x{{[0-9a-f]+}} a.out`tail_call_sink() at main.cpp:[[@LINE-1]]:4
6- // TAIL-CALL-SINK-NEXT: inlinable_function_which_tail_calls() at main.cpp{{.*}} [artificial]
5+ // TAIL-CALL-SINK: frame #0: 0x{{[0-9a-f]+}} a.out`tail_call_sink() at
6+ // main.cpp:[[@LINE-1]]:4 TAIL-CALL-SINK-NEXT:
7+ // inlinable_function_which_tail_calls() at main.cpp{{.*}} [artificial]
78 // TAIL-CALL-SINK-NEXT: main{{.*}}
89}
910
@@ -17,10 +18,9 @@ void __attribute__((noinline)) func3() {
1718
1819void __attribute__ ((always_inline)) inline_sink() {
1920 x++; // % self.filecheck("bt", "main.cpp", "-check-prefix=INLINE-SINK")
20- // INLINE-SINK: frame #0: 0x{{[0-9a-f]+}} a.out`inline_sink() at main.cpp:[[@LINE-1]]:4
21- // INLINE-SINK-NEXT: func2{{.*}}
22- // INLINE-SINK-NEXT: func1{{.*}} [artificial]
23- // INLINE-SINK-NEXT: main{{.*}}
21+ // INLINE-SINK: frame #0: 0x{{[0-9a-f]+}} a.out`inline_sink() at
22+ // main.cpp:[[@LINE-1]]:4 INLINE-SINK-NEXT: func2{{.*}} INLINE-SINK-NEXT:
23+ // func1{{.*}} [artificial] INLINE-SINK-NEXT: main{{.*}}
2424}
2525
2626void __attribute__ ((noinline)) func2() { inline_sink (); /* inlined */ }
You can’t perform that action at this time.
0 commit comments