diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-20 04:58:12 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-20 04:58:12 +0000 |
| commit | dbd8d9b5a21f39634120d15f96ba632f40cdaad9 (patch) | |
| tree | 47112452681e7bdfe6c121a4cce46472c0bf0361 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
| parent | ccf18131500917133a0eff97d16cd71572473e54 (diff) | |
ELF: Fix ICF crash on absolute symbol relocations.
If two sections contained relocations to absolute symbols with the same
value we would crash when trying to access their sections. Add a check that
both symbols point to sections before accessing their sections, and treat
absolute symbols as equal if their values are equal.
Differential Revision: https://reviews.llvm.org/D28935
llvm-svn: 292578
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions
