summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-02-16 16:06:13 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-02-16 16:06:13 +0000
commit505ac8dc412aaedb8f53c7066e5d931e4f6dd073 (patch)
tree9864f51fbe01ecdbc88d59539316c7f6ab99b30c /clang/lib/CodeGen/CodeGenFunction.h
parentcb2d95021497472c90f5c1b929084c400d98ecb3 (diff)
downloadbcm5719-llvm-505ac8dc412aaedb8f53c7066e5d931e4f6dd073.tar.gz
bcm5719-llvm-505ac8dc412aaedb8f53c7066e5d931e4f6dd073.zip
[ELF] - Do not crash when discarding sections that are referenced by others.
SHF_LINK_ORDER sections adds special ordering requirements. Such sections references other sections. Previously we would crash if section that other were referenced to was discarded by script. Patch fixes that by discarding all dependent sections in that case. It supports chained dependencies, testcase is provided. Differential revision: https://reviews.llvm.org/D30033 llvm-svn: 295332
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud