summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Error.cpp
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/lib/Object/Error.cpp
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/lib/Object/Error.cpp')
-rw-r--r--llvm/lib/Object/Error.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Object/Error.cpp b/llvm/lib/Object/Error.cpp
index 7ecc3a19af9..7ca2f12f092 100644
--- a/llvm/lib/Object/Error.cpp
+++ b/llvm/lib/Object/Error.cpp
@@ -47,8 +47,6 @@ std::string _object_error_category::message(int EV) const {
return "Invalid section index";
case object_error::bitcode_section_not_found:
return "Bitcode section not found in object file";
- case object_error::elf_invalid_dynamic_table_size:
- return "Invalid dynamic table size";
case object_error::macho_small_load_command:
return "Mach-O load command with size < 8 bytes";
case object_error::macho_load_segment_too_many_sections:
OpenPOWER on IntegriCloud