Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / ELF / pic-diff.s
bloba685824bcd746bf20c8b062211c37fc87d6c99ef
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols - | FileCheck %s
3 // CHECK: Relocations [
4 // CHECK-NEXT: Section ({{[^ ]+}}) {{[^ ]+}} {
5 // CHECK-NEXT: 0xC R_X86_64_PC32 baz 0x8
6 // CHECK-NEXT: }
7 // CHECK-NEXT: ]
9 // CHECK: Symbol {
10 // CHECK: Name: baz
11 // CHECK-NEXT: Value: 0x0
12 // CHECK-NEXT: Size: 0
13 // CHECK-NEXT: Binding: Global
14 // CHECK-NEXT: Type: None
15 // CHECK-NEXT: Other: 0
16 // CHECK-NEXT: Section: Undefined (0x0)
17 // CHECK-NEXT: }
19 .zero 4
20 .data
22 .zero 1
23 .align 4
24 foo:
25 .zero 8
26 .long baz - foo