summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-08-09 00:57:54 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-08-09 00:57:54 +0000
commit1fa1cd200b9a005629ca4793a99dd970c7a14371 (patch)
tree151396a6abe9fe65dd66a044835fb82ec935488b /llvm/lib/DebugInfo
parent52a36fae2a3f8560a5be690a67304db5edafc3fe (diff)
downloadbcm5719-llvm-1fa1cd200b9a005629ca4793a99dd970c7a14371.tar.gz
bcm5719-llvm-1fa1cd200b9a005629ca4793a99dd970c7a14371.zip
ELF: Move sections referred to by __start_/__stop_ symbols into the main partition.
In the case where C identifier sections have SHF_LINK_ORDER they will most likely be placed in the same partition as the section that they are associated with. But unless this happens to be the main partition, this will cause them to be excluded from the range covered by the __start_ and __stop_ symbols, which may lead to incorrect program behaviour. So we need to move them all into the main partition so that they will be covered by the __start_ and __stop_ symbols. We may want to refine this approach later and allow different __start_/__stop_ symbol values for different partitions. This would only make sense for relocations from SHT_NOTE sections since they are duplicated into each partition. Differential Revision: https://reviews.llvm.org/D65909 llvm-svn: 368375
Diffstat (limited to 'llvm/lib/DebugInfo')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud