1 ## Test that llvm-bolt detects internal calls and marks the containing function
4 # RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o
5 # RUN: %clang %cflags %t.o -o %t.exe -Wl,-q -static
6 # RUN: llvm-bolt %t.exe -o %t.null --print-all 2>&1 | FileCheck %s
8 # CHECK: Binary Function "_start" after building cfg
9 # CHECK: internal call detected in function _start
10 # CHECK-NOT: Binary Function "_start" after validate-internal-calls
14 .type _start, %function
29 ld1
{ v2.2d
, v3.2d
}, [x0
], #32
30 ld1
{ v0.2d
, v1.2d
}, [x0
], #32
62 .size _start, .-_start
64 ## Force relocation mode.
65 .reloc 0, R_AARCH64_NONE