summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-06-28 09:59:34 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-06-28 09:59:34 +0000
commite0b43df32eea01af96fd5489c07141844be19675 (patch)
tree95456eefac4f036aff7e17c089f817d7bf9785d2 /llvm/lib/CodeGen/CodeGen.cpp
parentdbe843d602488af7b8095babf582db65fa8a4b4e (diff)
downloadbcm5719-llvm-e0b43df32eea01af96fd5489c07141844be19675.tar.gz
bcm5719-llvm-e0b43df32eea01af96fd5489c07141844be19675.zip
[ELF] - Do not crash when LLD synthesizes output sections with BYTE commands and -r
This is PR33596. Previously LLD would crash because BYTE command synthesized output section, but it was not assigned to Sec member of OutputSectionCommand. Behaviour of -script and -r combination is not well defined, but it seems after this change LLD naturally inherits behavior of GNU linkers - creates output section requested in script and does not crash anymore. Differential revision: https://reviews.llvm.org/D34676 llvm-svn: 306527
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud