[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / bolt / test / X86 / section-end-sym.s
blob545cf37263da56f993304b1bc5e3a1d3542fc4c0
1 ## Check that BOLT doesn't consider end-of-section symbols (e.g., _etext) as
2 ## functions.
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 %t.null --print-cfg --debug-only=bolt 2>&1 \
9 # RUN: | FileCheck %s
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
16 .text
17 .globl _start
18 .type _start,@function
19 _start:
20 retq
21 .size _start, .-_start
23 .align 0x1000
24 .globl etext
25 etext:
27 .data
28 .Lfoo:
29 .word 0