diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-11-08 13:07:45 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-11-08 13:07:45 +0000 |
commit | b11eaf561714969cc119bd7cdaf72bd8c5f56158 (patch) | |
tree | edc45ab3c8f4c26dce1f220bf3c85eb28d3dc332 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 8930032f53322405ca2d06cac78b9503542e5b62 (diff) | |
download | llvm-b11eaf561714969cc119bd7cdaf72bd8c5f56158.zip llvm-b11eaf561714969cc119bd7cdaf72bd8c5f56158.tar.gz llvm-b11eaf561714969cc119bd7cdaf72bd8c5f56158.tar.bz2 |
[DSE] Don't dereference a dyn_cast<> result - use cast<> instead. NFCI.
We were relying on the dyn_cast<> succeeding - better use cast<> and have it assert that its the correct type than dereference a null result.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions