Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / linkerscript / merge-sections-reloc.s
blob639341540350473b4d8ac9db8f08cf4241b79375
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/merge-sections-reloc.s -o %t1.o
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t2.o
4 # RUN: echo "SECTIONS {}" > %t.script
5 # RUN: ld.lld -o %t --script %t.script %t1.o %t2.o
6 # RUN: llvm-objdump -s %t | FileCheck %s
8 ## Check that sections content is not corrupted.
9 # CHECK: Contents of section .text:
10 # CHECK-NEXT: 44332211 00000000 44332211 00000000
11 # CHECK-NEXT: f0ffffff ffffffff
13 .globl _start
14 _foo:
15 .quad 0x11223344
16 .quad _start - .