llvm-project/bolt/test/X86/tailcall.test
Sayhaan Siddiqui 11791ae7b0
[BOLT][DWARF][NFC] Added double escape characters (#93348)
Added double escape characters to lines that describe a test.
2024-05-31 15:14:37 -07:00

14 lines
393 B
Plaintext

## Verifies that llvm-bolt recognizes tailcalls and mark them
## in control flow graph.
RUN: %clang %cflags %S/Inputs/tailcall.s -o %t.exe
RUN: llvm-bolt %t.exe -o %t.null --print-cfg 2>&1 | FileCheck %s
CHECK: Binary Function "foo"
CHECK: jmp bar # TAILCALL
CHECK: End of Function "foo"
CHECK: Binary Function "bar"
CHECK: jmp baz # TAILCALL
CHECK: End of Function "bar"