llvm/test/Object/no-section-table.test
2015-07-10 20:11:57 +00:00

37 lines
1.7 KiB
Plaintext

RUN: llvm-readobj %p/Inputs/no-section-table.so -hash-table -dynamic-table \
RUN: | FileCheck %s
CHECK: DynamicSection [ (24 entries)
CHECK: Tag Type Name/Value
CHECK: 0x0000000000000001 NEEDED SharedLibrary (libc.so.6)
CHECK: 0x000000000000000C INIT 0x4B8
CHECK: 0x000000000000000D FINI 0x618
CHECK: 0x0000000000000019 INIT_ARRAY 0x2006C0
CHECK: 0x000000000000001B INIT_ARRAYSZ 8 (bytes)
CHECK: 0x000000000000001A FINI_ARRAY 0x2006C8
CHECK: 0x000000000000001C FINI_ARRAYSZ 8 (bytes)
CHECK: 0x0000000000000004 HASH 0x158
CHECK: 0x0000000000000005 STRTAB 0x2D8
CHECK: 0x0000000000000006 SYMTAB 0x1A0
CHECK: 0x000000000000000A STRSZ 179 (bytes)
CHECK: 0x000000000000000B SYMENT 24 (bytes)
CHECK: 0x0000000000000003 PLTGOT 0x2008C0
CHECK: 0x0000000000000002 PLTRELSZ 48 (bytes)
CHECK: 0x0000000000000014 PLTREL RELA
CHECK: 0x0000000000000017 JMPREL 0x488
CHECK: 0x0000000000000007 RELA 0x3C8
CHECK: 0x0000000000000008 RELASZ 192 (bytes)
CHECK: 0x0000000000000009 RELAENT 24 (bytes)
CHECK: 0x000000006FFFFFFE VERNEED 0x3A8
CHECK: 0x000000006FFFFFFF VERNEEDNUM 1
CHECK: 0x000000006FFFFFF0 VERSYM 0x38C
CHECK: 0x000000006FFFFFF9 unknown 0x3
CHECK: 0x0000000000000000 NULL 0x0
CHECK: ]
CHECK: HashTable {
CHECK: Num Buckets: 3
CHECK: Num Chains: 13
CHECK: Buckets: [12, 10, 11]
CHECK: Chains: [0, 0, 0, 0, 2, 3, 4, 0, 7, 5, 6, 8, 9]
CHECK: }