diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-03-25 10:23:22 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-03-25 10:23:30 +0000 |
commit | ae95f291e8d92bb7396219839efc0012a13378e1 (patch) | |
tree | 1313081692c903be1177cdf75b70a5941e9300e7 /llvm/lib/Transforms/Utils/Debugify.cpp | |
parent | ce2b36e123e7b5312016b09c1b2971c9d80416e7 (diff) | |
download | llvm-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