[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / reproduce-linkerscript.s
blob7cc070c3737f309faec2da11ccef071a93d38c4a
1 # REQUIRES: x86
3 # RUN: rm -rf %t.dir
4 # RUN: mkdir -p %t.dir/build
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.dir/build/foo.o
6 # RUN: echo "INPUT(\"%t.dir/build/foo.o\")" > %t.dir/build/foo.script
7 # RUN: echo "INCLUDE \"%t.dir/build/bar.script\"" >> %t.dir/build/foo.script
8 # RUN: echo "/* empty */" > %t.dir/build/bar.script
9 # RUN: cd %t.dir
10 # RUN: ld.lld build/foo.script -o /dev/null --reproduce repro.tar
11 # RUN: tar tf repro.tar | FileCheck -DPATH='%:t.dir' %s
13 # CHECK: [[PATH]]/build/foo.script
14 # CHECK: [[PATH]]/build/foo.o
15 # CHECK: [[PATH]]/build/bar.script
17 .globl _start
18 _start:
19 mov $60, %rax
20 mov $42, %rdi
21 syscall