Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / ELF / x86_64-reloc-sizetest.s
blob2c88ff7aebe5362d93f6a5873deb6e1465512200
1 // RUN: llvm-mc -triple x86_64-linux-gnu -filetype=obj %s | llvm-readobj -r - | FileCheck %s
3 // Tests that relocation value fits in the provided size
4 // Original bug http://llvm.org/bugs/show_bug.cgi?id=10568
6 L: movq $(L + 2147483648),%rax
9 // CHECK: Relocations [
10 // CHECK-NEXT: Section ({{[0-9]+}}) .rela.text {
11 // CHECK-NEXT: 0x3 R_X86_64_32S {{[^ ]+}} 0x80000000
12 // CHECK-NEXT: }
13 // CHECK-NEXT: ]