[test/Object] - Cleanup the Object\obj2yaml.test a bit.
[llvm-complete.git] / test / Object / no-section-table.test
blob9ecde4f8c36901c4b66c24bc00d8a2593d64b866
1 RUN: llvm-readobj %p/Inputs/no-section-table.so -hash-table -dynamic-table \
2 RUN:   | FileCheck %s
4 CHECK: DynamicSection [ (24 entries)
5 CHECK:   Tag                Type                 Name/Value
6 CHECK:   0x0000000000000001 NEEDED               Shared library: [libc.so.6]
7 CHECK:   0x000000000000000C INIT                 0x4B8
8 CHECK:   0x000000000000000D FINI                 0x618
9 CHECK:   0x0000000000000019 INIT_ARRAY           0x2006C0
10 CHECK:   0x000000000000001B INIT_ARRAYSZ         8 (bytes)
11 CHECK:   0x000000000000001A FINI_ARRAY           0x2006C8
12 CHECK:   0x000000000000001C FINI_ARRAYSZ         8 (bytes)
13 CHECK:   0x0000000000000004 HASH                 0x158
14 CHECK:   0x0000000000000005 STRTAB               0x2D8
15 CHECK:   0x0000000000000006 SYMTAB               0x1A0
16 CHECK:   0x000000000000000A STRSZ                179 (bytes)
17 CHECK:   0x000000000000000B SYMENT               24 (bytes)
18 CHECK:   0x0000000000000003 PLTGOT               0x2008C0
19 CHECK:   0x0000000000000002 PLTRELSZ             48 (bytes)
20 CHECK:   0x0000000000000014 PLTREL               RELA
21 CHECK:   0x0000000000000017 JMPREL               0x488
22 CHECK:   0x0000000000000007 RELA                 0x3C8
23 CHECK:   0x0000000000000008 RELASZ               192 (bytes)
24 CHECK:   0x0000000000000009 RELAENT              24 (bytes)
25 CHECK:   0x000000006FFFFFFE VERNEED              0x3A8
26 CHECK:   0x000000006FFFFFFF VERNEEDNUM           1
27 CHECK:   0x000000006FFFFFF0 VERSYM               0x38C
28 CHECK:   0x000000006FFFFFF9 RELACOUNT            3
29 CHECK:   0x0000000000000000 NULL                 0x0
30 CHECK: ]
31 CHECK: HashTable {
32 CHECK:   Num Buckets: 3
33 CHECK:   Num Chains: 13
34 CHECK:   Buckets: [12, 10, 11]
35 CHECK:   Chains: [0, 0, 0, 0, 2, 3, 4, 0, 7, 5, 6, 8, 9]
36 CHECK: }