Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / chroot.s
blob8c97e99af4dc55305fa1a8a3573400e3171980a5
1 # REQUIRES: x86
2 # RUN: rm -rf %t.dir
3 # RUN: mkdir %t.dir
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.dir/chroot.o
5 # RUN: ld.lld --chroot %t.dir -o %t.exe /chroot.o
7 # RUN: echo 'INPUT(/chroot.o)' > %t.dir/scr
8 # RUN: ld.lld --chroot %t.dir -o %t.exe /scr
10 .globl _start
11 _start:
12 ret