1 ## Check that BOLT doesn't consider end-of-section symbols (e.g., _etext) as
4 # REQUIRES: x86_64-linux, asserts
6 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-linux %s -o %t.o
7 # RUN: ld.lld %t.o -o %t.exe -q
8 # RUN: llvm-bolt %t.exe -o /dev/null --print-cfg --debug-only=bolt 2>&1 \
11 # CHECK: considering symbol etext for function
12 # CHECK-NEXT: rejecting as symbol points to end of its section
13 # CHECK-NOT: Binary Function "etext{{.*}}" after building cfg
18 .type _start,@function
21 .size _start, .-_start