aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-08 13:06:07 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-08 13:06:07 +0000
commit8930032f53322405ca2d06cac78b9503542e5b62 (patch)
tree503dcffac035e63554fc71f89bdb8901a350bda4 /llvm/lib/Object/ELFObjectFile.cpp
parent0fe91ad463fea9d08cbcd640a62aa9ca2d8d05e0 (diff)
downloadllvm-8930032f53322405ca2d06cac78b9503542e5b62.zip
llvm-8930032f53322405ca2d06cac78b9503542e5b62.tar.gz
llvm-8930032f53322405ca2d06cac78b9503542e5b62.tar.bz2
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