[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / exclude.s
blobbb7bbfbe21253c1a05165e8c4bbb085dde9a61b0
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 # RUN: ld.lld -o %t1 %t
4 # RUN: llvm-objdump --section-headers %t1 | FileCheck %s
5 # RUN: ld.lld -r -o %t1 %t
6 # RUN: llvm-objdump --section-headers %t1 | FileCheck --check-prefix=RELOCATABLE %s
8 # CHECK-NOT: .aaa
9 # RELOCATABLE: .aaa
11 .globl _start
12 _start:
13 jmp _start
15 .section .aaa,"ae"
16 .quad .bbb
18 .section .bbb,"a"
19 .quad 0