File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
lldb/test/API/functionalities
param_entry_vals/basic_entry_values
tail_call_frames/inlining_and_tail_calls Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ __attribute__((noinline)) void func6(int &sink, int x) {
7070__attribute__ ((noinline)) void func7(int &sink, int x) {
7171 // % self.filecheck("bt", "main.cpp", "-check-prefix=FUNC7-BT")
7272 // FUNC7-BT: func7
73- // FUNC7-BT-NEXT: [inlined] func8_inlined
74- // FUNC7-BT-NEXT: [inlined] func9_inlined
73+ // FUNC7-BT-NEXT: func8_inlined
74+ // FUNC7-BT-NEXT: func9_inlined
7575 // FUNC7-BT-NEXT: func10
7676 use<int &, int >(sink, x);
7777 use<int &, int >(dummy, 0 );
Original file line number Diff line number Diff line change @@ -3,10 +3,8 @@ volatile int x;
33void __attribute__ ((noinline)) tail_call_sink() {
44 x++; // % self.filecheck("bt", "main.cpp", "-check-prefix=TAIL-CALL-SINK")
55 // 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: func3 {{.*}} [artificial]
6+ // TAIL-CALL-SINK-NEXT: inlinable_function_which_tail_calls() at main.cpp {{.*}} [artificial]
77 // TAIL-CALL-SINK-NEXT: main{{.*}}
8-
9- // TODO: The backtrace should include inlinable_function_which_tail_calls.
108}
119
1210void __attribute__ ((always_inline)) inlinable_function_which_tail_calls() {
@@ -19,7 +17,7 @@ void __attribute__((noinline)) func3() {
1917
2018void __attribute__ ((always_inline)) inline_sink() {
2119 x++; // % self.filecheck("bt", "main.cpp", "-check-prefix=INLINE-SINK")
22- // INLINE-SINK: frame #0: 0x{{[0-9a-f]+}} a.out`func2() [inlined] inline_sink() at main.cpp:[[@LINE-1]]:4
20+ // INLINE-SINK: frame #0: 0x{{[0-9a-f]+}} a.out`inline_sink() at main.cpp:[[@LINE-1]]:4
2321 // INLINE-SINK-NEXT: func2{{.*}}
2422 // INLINE-SINK-NEXT: func1{{.*}} [artificial]
2523 // INLINE-SINK-NEXT: main{{.*}}
You can’t perform that action at this time.
0 commit comments