[PATCH] D157948: Fix possibly deref nullptr
Kan Shengchen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 15 20:39:49 PDT 2023
skan added inline comments.
================
Comment at: llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:577
case WinEH::EncodingType::Itanium:
+ assert(MMI && "MMI could not be nullptr!");
ES = new WinException(this);
----------------
Move this to `AsmPrinter::getDataLayout()`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157948/new/
https://reviews.llvm.org/D157948
More information about the llvm-commits
mailing list