Skip to content

Commit 30eb129

Browse files
committed
fixup! update more tests
1 parent 5f6ad22 commit 30eb129

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

2 files changed

+4
-6
lines changed

lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ volatile int x;
33
void __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

1210
void __attribute__((always_inline)) inlinable_function_which_tail_calls() {
@@ -19,7 +17,7 @@ void __attribute__((noinline)) func3() {
1917

2018
void __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{{.*}}

0 commit comments

Comments
 (0)