Files
clang-p2996/bolt/test/X86/tailcall.test
Vladislav Khmelevsky 87a57aada3 [BOLT][test] Fix X86 tests
Differential Revision: https://reviews.llvm.org/D123133
2022-04-06 21:16:42 +03:00

14 lines
392 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 /dev/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"