aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-08 13:07:45 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-08 13:07:45 +0000
commitb11eaf561714969cc119bd7cdaf72bd8c5f56158 (patch)
treeedc45ab3c8f4c26dce1f220bf3c85eb28d3dc332 /llvm/lib/Object/ELFObjectFile.cpp
parent8930032f53322405ca2d06cac78b9503542e5b62 (diff)
downloadllvm-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