diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-02-21 15:46:43 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-02-21 15:46:43 +0000 |
commit | 78ef645f949dfa1f8be8c99fc04169267d2c5e36 (patch) | |
tree | 1ea3c8b15d8014d5640d22e3b7938c0bd7f973f3 /llvm/lib/Support/DynamicLibrary.cpp | |
parent | cc43087afc0684aaa52eac5e79fe4f03d17f13c0 (diff) | |
download | llvm-78ef645f949dfa1f8be8c99fc04169267d2c5e36.zip llvm-78ef645f949dfa1f8be8c99fc04169267d2c5e36.tar.gz llvm-78ef645f949dfa1f8be8c99fc04169267d2c5e36.tar.bz2 |
[ELF] - Do not segfault when using --gc-sections with linker script
Patch fixes PR32024.
Sections that were not marked as Live has null output section.
Previously we tried to access that field and segfaulted.
Differential revision: https://reviews.llvm.org/D30188
llvm-svn: 295727
Diffstat (limited to 'llvm/lib/Support/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions