mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 15:46:45 +00:00
14 lines
393 B
Plaintext
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"
|