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;
2
2
3
3
void __attribute__ ((noinline)) tail_call_sink() {
4
4
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]
7
8
// TAIL-CALL-SINK-NEXT: main{{.*}}
8
9
}
9
10
@@ -17,10 +18,9 @@ void __attribute__((noinline)) func3() {
17
18
18
19
void __attribute__ ((always_inline)) inline_sink() {
19
20
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{{.*}}
24
24
}
25
25
26
26
void __attribute__ ((noinline)) func2() { inline_sink (); /* inlined */ }
You can’t perform that action at this time.
0 commit comments