diff options
Diffstat (limited to 'llvm/test/tools/llvm-objdump/private-headers-dynamic-section.test')
| -rw-r--r-- | llvm/test/tools/llvm-objdump/private-headers-dynamic-section.test | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/private-headers-dynamic-section.test b/llvm/test/tools/llvm-objdump/private-headers-dynamic-section.test new file mode 100644 index 00000000000..ba93d0ba9af --- /dev/null +++ b/llvm/test/tools/llvm-objdump/private-headers-dynamic-section.test @@ -0,0 +1,35 @@ +# RUN: llvm-objdump -p %p/Inputs/private-headers-x86_64.elf | FileCheck %s +# RUN: llvm-objcopy --strip-sections %p/Inputs/private-headers-x86_64.elf %t +# RUN: llvm-objdump -p %t | FileCheck %s + +# CHECK: NEEDED libstdc++.so.6 +# CHECK: NEEDED libm.so.6 +# CHECK: NEEDED libgcc_s.so.1 +# CHECK: NEEDED libc.so.6 +# CHECK: INIT 0x00000000000006a0 +# CHECK: FINI 0x0000000000000924 +# CHECK: INIT_ARRAY 0x0000000000200da8 +# CHECK: INIT_ARRAYSZ 0x0000000000000010 +# CHECK: FINI_ARRAY 0x0000000000200db8 +# CHECK: FINI_ARRAYSZ 0x0000000000000008 +# CHECK: GNU_HASH 0x0000000000000298 +# CHECK: STRTAB 0x00000000000003c8 +# CHECK: SYMTAB 0x00000000000002c0 +# CHECK: STRSZ 0x000000000000012f +# CHECK: SYMENT 0x0000000000000018 +# CHECK: DEBUG 0x0000000000000000 +# CHECK: PLTGOT 0x0000000000201000 +# CHECK: PLTRELSZ 0x0000000000000048 +# CHECK: PLTREL 0x0000000000000007 +# CHECK: JMPREL 0x0000000000000658 +# CHECK: RELA 0x0000000000000550 +# CHECK: RELASZ 0x0000000000000108 +# CHECK: RELAENT 0x0000000000000018 +# CHECK: FLAGS_1 0x0000000008000000 +# CHECK: VERNEED 0x0000000000000510 +# CHECK: VERNEEDNUM 0x0000000000000002 +# CHECK: VERSYM 0x00000000000004f8 +# CHECK: RELACOUNT 0x0000000000000004 +# CHECK: RELRSZ 0x0000000000000014 +# CHECK: RELR 0x0000000087654321 +# CHECK: RELRENT 0x0000000000000010 |

