diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2015-07-09 22:32:24 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2015-07-09 22:32:24 +0000 |
commit | 20546ffd4aa654066d7af1eed475598c1f1ac7b9 (patch) | |
tree | 13edff52313be8b0ae0846d250a039e631d71b55 /llvm/test | |
parent | 28148ba82dfab4ae9a00124beab1aeb14708d08e (diff) | |
download | bcm5719-llvm-20546ffd4aa654066d7af1eed475598c1f1ac7b9.tar.gz bcm5719-llvm-20546ffd4aa654066d7af1eed475598c1f1ac7b9.zip |
[Object][ELF] Support dumping hash-tables from files with no section table.
This time without breaking the bots.
llvm-svn: 241869
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: } |