DI: Fold constant arguments into a single MDString
[oota-llvm.git] / test / Object / relocation-executable.test
1 RUN: llvm-readobj -r -expand-relocs %p/Inputs/hello-world.elf-x86-64 \
2 RUN:   | FileCheck %s
3
4 // CHECK:     Relocations [
5 // CHECK-NEXT:  Section (8) .rela.dyn {
6 // CHECK-NEXT:    Relocation {
7 // CHECK-NEXT:      Offset: 0x4018D8
8 // CHECK-NEXT:      Type: R_X86_64_GLOB_DAT (6)
9 // CHECK-NEXT:      Symbol: __gmon_start__
10 // CHECK-NEXT:      Addend: 0x0
11 // CHECK-NEXT:    }
12 // CHECK-NEXT:  }
13 // CHECK-NEXT:  Section (9) .rela.plt {
14 // CHECK-NEXT:    Relocation {
15 // CHECK-NEXT:      Offset: 0x4018F8
16 // CHECK-NEXT:      Type: R_X86_64_JUMP_SLOT (7)
17 // CHECK-NEXT:      Symbol: __libc_start_main
18 // CHECK-NEXT:      Addend: 0x0
19 // CHECK-NEXT:    }
20 // CHECK-NEXT:    Relocation {
21 // CHECK-NEXT:      Offset: 0x401900
22 // CHECK-NEXT:      Type: R_X86_64_JUMP_SLOT (7)
23 // CHECK-NEXT:      Symbol: puts
24 // CHECK-NEXT:      Addend: 0x0
25 // CHECK-NEXT:    }
26 // CHECK-NEXT:  }