[PATCH] D100158: [SantizerCoverage] test case demonstrating PR39531
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 8 18:04:25 PDT 2021
nickdesaulniers planned changes to this revision.
nickdesaulniers added a comment.
WIP since I need to think more about the best way to fix this, but here's an example that trips the assertion. Very relevant is the statement in `llvm::SplitCriticalEdge`:
NewBI->setDebugLoc(TI->getDebugLoc());
where the synthesized block gets its debug info from the predecessor (which can be none-by accident).
Also, this is forked from https://reviews.llvm.org/D100137.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100158/new/
https://reviews.llvm.org/D100158
More information about the llvm-commits
mailing list