[lit] Remove LitTestCase
[llvm-complete.git] / test / MC / ELF / got-relaxed-no-relax.s
blob69511cd78cd90a64a1d70b2b6c72294030909763
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o - | llvm-readobj -r | FileCheck %s
3 // these should not produce relaxable relocations
5 movq foo@GOT, %rax
6 mulq foo@GOTPCREL(%rip)
7 .long foo@GOTPCREL
9 // CHECK: Relocations [
10 // CHECK: Section ({{.*}}) .rela.text {
11 // CHECK-NEXT: R_X86_64_GOT32 foo
12 // CHECK-NEXT: R_X86_64_GOTPCREL foo
13 // CHECK-NEXT: R_X86_64_GOTPCREL foo
14 // CHECK-NEXT: }
15 // CHECK-NEXT: ]