aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2020-01-28 18:29:55 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2020-01-31 13:20:51 +0300
commit0654005ab2782a1294158ecfddd1337d8be7e3a4 (patch)
treee8aed4bf2f9aed472bae1e0763ac0535719f7425 /llvm/lib/IR/Module.cpp
parent84695dd4d788dd65bb2b83ae1512a86c42109d7e (diff)
downloadllvm-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