summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2017-11-09 14:53:43 +0000
committerDave Lee <davelee.com@gmail.com>2017-11-09 14:53:43 +0000
commit17307d9d33ab3733e087038b679ee65d43c8a373 (patch)
tree28ada97ad34b19e7dafba0c31e778420114a12e3 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
parenta47514ce3faac5c682bf1edea37a3fcce59aa703 (diff)
downloadbcm5719-llvm-17307d9d33ab3733e087038b679ee65d43c8a373.tar.gz
bcm5719-llvm-17307d9d33ab3733e087038b679ee65d43c8a373.zip
Reapply: Allow yaml2obj to order implicit sections for ELF
Summary: This change allows yaml input to control the order of implicitly added sections (`.symtab`, `.strtab`, `.shstrtab`). The order is controlled by adding a placeholder section of the given name to the Sections field. This change is to support changes in D39582, where it is desirable to control the location of the `.dynsym` section. This reapplied version fixes: 1. use of a function call within an assert 2. failing lld test which has an unnamed section 3. incorrect section count when given an unnamed section Additionally, one more test to cover the unnamed section failure. Reviewers: compnerd, jakehehrlich Reviewed By: jakehehrlich Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D39749 llvm-svn: 317789
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud