diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2020-01-28 18:29:55 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2020-01-31 13:20:51 +0300 |
commit | 0654005ab2782a1294158ecfddd1337d8be7e3a4 (patch) | |
tree | e8aed4bf2f9aed472bae1e0763ac0535719f7425 /llvm/lib/IR/Module.cpp | |
parent | 84695dd4d788dd65bb2b83ae1512a86c42109d7e (diff) | |
download | llvm-0654005ab2782a1294158ecfddd1337d8be7e3a4.zip llvm-0654005ab2782a1294158ecfddd1337d8be7e3a4.tar.gz llvm-0654005ab2782a1294158ecfddd1337d8be7e3a4.tar.bz2 |
[llvm-readobj] - Don't crash when dumping invalid dynamic relocation.
Currently when we dump dynamic relocation with use of
DT_RELA/DT_RELASZ/DT_RELAENT tags, we crash when a symbol index
is larger than the number of dynamic symbols or
when there is no dynamic symbol table.
This patch adds test cases and fixes the issues.
Differential revision: https://reviews.llvm.org/D73560
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions