diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2020-06-23 15:55:17 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2020-06-24 14:09:34 +0300 |
commit | 31fe8c2763a8982e16646f85ac09f2362341306c (patch) | |
tree | b2c8206b4fd5cd38e9c2f7ad5da6afc45d02f6d1 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 72131423cc952ccbd6d8e021ff7c04fa22297fe3 (diff) | |
download | llvm-31fe8c2763a8982e16646f85ac09f2362341306c.zip llvm-31fe8c2763a8982e16646f85ac09f2362341306c.tar.gz llvm-31fe8c2763a8982e16646f85ac09f2362341306c.tar.bz2 |
[llvm-readelf] - Don't crash when e_shstrndx==SHN_XINDEX, but there is no section header.
Currently we crash when trying to print --sections and the SHN_XINDEX escape value
is used for the e_shstrndx field, but there is no section header at index 0 to
read the value from.
Differential revision: https://reviews.llvm.org/D82374
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions