aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Debugify.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-03-25 10:23:22 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-03-25 10:23:30 +0000
commitae95f291e8d92bb7396219839efc0012a13378e1 (patch)
tree1313081692c903be1177cdf75b70a5941e9300e7 /llvm/lib/Transforms/Utils/Debugify.cpp
parentce2b36e123e7b5312016b09c1b2971c9d80416e7 (diff)
downloadllvm-ae95f291e8d92bb7396219839efc0012a13378e1.zip
llvm-ae95f291e8d92bb7396219839efc0012a13378e1.tar.gz
llvm-ae95f291e8d92bb7396219839efc0012a13378e1.tar.bz2
[AsmPrinter] AIXException::endFunction - use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The pointer is used immediately inside the getSymbol() call, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions