[lit] Remove LitTestCase
[llvm-complete.git] / test / MC / ELF / reloc-same-name-section.s
blob57463c65f8909a642b1a6d652a3ed78a5083b3f1
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o - | llvm-readobj -r --expand-relocs | FileCheck %s
3 // test that we produce one relocation against each section.
5 // CHECK: Relocations [
6 // CHECK-NEXT: Section {{.*}} {
7 // CHECK-NEXT: Relocation {
8 // CHECK-NEXT: Offset:
9 // CHECK-NEXT: Type:
10 // CHECK-NEXT: Symbol: .foo (4)
11 // CHECK-NEXT: Addend:
12 // CHECK-NEXT: }
13 // CHECK-NEXT: Relocation {
14 // CHECK-NEXT: Offset:
15 // CHECK-NEXT: Type:
16 // CHECK-NEXT: Symbol: .foo (5)
17 // CHECK-NEXT: Addend:
18 // CHECK-NEXT: }
19 // CHECK-NEXT: }
20 // CHECK-NEXT: ]
22 .section .foo,"aG",@progbits,v,comdat
25 .section .foo,"a",@progbits
29 .section .bar
30 .quad f
31 .quad g