We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e99ccaa commit 79cd9abCopy full SHA for 79cd9ab
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -675,6 +675,8 @@ class RuntimeCallInserter {
675
// funclet opbundles are only valid in monochromatic BBs.
676
// Note that unreachable BBs are seen as colorless by colorEHFunclets()
677
// and will be DCE'ed later.
678
+ if (Colors.empty())
679
+ continue;
680
if (Colors.size() != 1) {
681
OwnerFn->getContext().emitError(
682
"Instruction's BasicBlock is not monochromatic");
0 commit comments