summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-09-05 14:25:57 +0000
committerFangrui Song <maskray@google.com>2019-09-05 14:25:57 +0000
commitc3bc697974d2d7f3c151cb9853b40cc6bf73ba4b (patch)
tree84f1b811c199c8e32538cb219ea5b9cbc8db633d /lldb/packages/Python/lldbsuite/test
parent9cef6400014a3124880e4c87e32acaf0b4c7c415 (diff)
downloadbcm5719-llvm-c3bc697974d2d7f3c151cb9853b40cc6bf73ba4b.tar.gz
bcm5719-llvm-c3bc697974d2d7f3c151cb9853b40cc6bf73ba4b.zip
[yaml2obj] Write the section header table after section contents
Linkers (ld.bfd/gold/lld) place the section header table at the very end. This allows tools to strip it, which is optional in executable/shared objects. In addition, if we add or section, the size of the section header table will change. Placing the section header table in the end keeps section offsets unchanged. yaml2obj currently places the section header table immediately after the program header. Follow what linkers do to make offset updating easier. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D67221 llvm-svn: 371074
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud