diff options
author | Peter Smith <peter.smith@linaro.org> | 2018-09-13 15:49:13 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2018-09-13 15:49:13 +0000 |
commit | f31f596152befc309a83f00f164b8145ca9485b3 (patch) | |
tree | e016f6fa929626daf4a27d264ae54ccc9a01eff8 /llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp | |
parent | 4dce517c474f97ba74ed07de05786680ad8233be (diff) | |
download | bcm5719-llvm-f31f596152befc309a83f00f164b8145ca9485b3.tar.gz bcm5719-llvm-f31f596152befc309a83f00f164b8145ca9485b3.zip |
[ELF] Guard --fix-cortex-a53-843419 against --just-syms
If --just-syms is used the mapping symbols from the ELF file will be
absolute symbols with no section. The code to process mapping symbols in
--fix-cortex-a53-843419 assumes that these symbols have a defining section
so a crash will result when --just-syms is used. The simple fix is to not
process the symbol when it doesn't have a section.
Fixes PR37971
Differential Revision: https://reviews.llvm.org/D52038
llvm-svn: 342146
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp')
0 files changed, 0 insertions, 0 deletions