aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objcopy/ELF/Object.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2021-06-12 20:08:37 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-06-12 20:08:37 +0000
commit8bc1ce0f61da0b2d0c3a17aec898df7001336ea5 (patch)
tree2f00afda1e904acaa07bba36a0558dca6ce4d744 /llvm/tools/llvm-objcopy/ELF/Object.cpp
parent5899278758b66a5e72c1ae9695651c2aef7406c4 (diff)
downloadllvm-8bc1ce0f61da0b2d0c3a17aec898df7001336ea5.zip
llvm-8bc1ce0f61da0b2d0c3a17aec898df7001336ea5.tar.gz
llvm-8bc1ce0f61da0b2d0c3a17aec898df7001336ea5.tar.bz2
Use dyn_cast_or_null instead of dyn_cast in FunctionLike::verifyTrait (NFC)
This is making the verifier more tolerant to cases where a "null" Attribute would be inserted in the array of func arguments/results attributes.
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions