diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/Object/Inputs/no-section-table.so | bin | 0 -> 2544 bytes | |||
-rw-r--r-- | llvm/test/Object/no-section-table.test | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Object/Inputs/no-section-table.so b/llvm/test/Object/Inputs/no-section-table.so Binary files differnew file mode 100644 index 00000000000..fd176ebf7ce --- /dev/null +++ b/llvm/test/Object/Inputs/no-section-table.so diff --git a/llvm/test/Object/no-section-table.test b/llvm/test/Object/no-section-table.test new file mode 100644 index 00000000000..1049390ce85 --- /dev/null +++ b/llvm/test/Object/no-section-table.test @@ -0,0 +1,8 @@ +RUN: llvm-readobj %p/Inputs/no-section-table.so -hash-table | FileCheck %s + +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: } |