Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / ELF / reloc-same-name-section.s
blob579d617024264c05f206be66623c2bb2d93e88ee
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 (2)
11 // CHECK-NEXT: Addend:
12 // CHECK-NEXT: }
13 // CHECK-NEXT: Relocation {
14 // CHECK-NEXT: Offset:
15 // CHECK-NEXT: Type:
16 // CHECK-NEXT: Symbol: .foo (4)
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