Skip to content

Commit d05bd72

Browse files
committed
fixup! clang-format
1 parent af8a767 commit d05bd72

File tree

1 file changed

+6
-6
lines changed
  • lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ volatile int x;
22

33
void __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

1819
void __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

2626
void __attribute__((noinline)) func2() { inline_sink(); /* inlined */ }

0 commit comments

Comments
 (0)