summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-02-17 16:48:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-02-17 16:48:00 +0000
commite17c3f3ee73287aedb98a6f0ca8fd4a9ddc2b9bd (patch)
tree05114c274a9bb5404dca3d1a3ad9096f7c3e99a4 /llvm/test/Object
parenta58d0651cb490cbecf0f57cd7ca72d729a1e6eda (diff)
downloadbcm5719-llvm-e17c3f3ee73287aedb98a6f0ca8fd4a9ddc2b9bd.tar.gz
bcm5719-llvm-e17c3f3ee73287aedb98a6f0ca8fd4a9ddc2b9bd.zip
Represent the dynamic table itself with a DynRegionInfo.
The dynamic table is also an array of a fixed structure, so it can be represented with a DynReginoInfo. No major functionality change. The extra error checking is covered by existing tests with a broken dynamic program header. Idea extracted from r260488. I did the extra cleanups. llvm-svn: 261107
Diffstat (limited to 'llvm/test/Object')
-rw-r--r--llvm/test/Object/corrupt.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Object/corrupt.test b/llvm/test/Object/corrupt.test
index 7208566c25b..3ce7dc7f5e9 100644
--- a/llvm/test/Object/corrupt.test
+++ b/llvm/test/Object/corrupt.test
@@ -55,7 +55,7 @@ RUN: not llvm-readobj -dyn-relocations \
RUN: %p/Inputs/corrupt-invalid-dynamic-table-size.elf.x86-64 2>&1 | \
RUN: FileCheck --check-prefix=DYN-TABLE-SIZE %s
-DYN-TABLE-SIZE: Invalid dynamic table size
+DYN-TABLE-SIZE: Invalid entity size
RUN: not llvm-readobj -dyn-relocations \
OpenPOWER on IntegriCloud