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