Skip to content

Commit f43d4f0

Browse files
committed
[NFC] Note how to disable validation.
1 parent ee1bc88 commit f43d4f0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/SIL/IR/TypeLowering.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3196,7 +3196,9 @@ void TypeConverter::verifyTrivialLowering(const TypeLowering &lowering,
31963196
if (hasNoNonconformingNode) {
31973197
llvm::errs() << "Trivial type without a BitwiseCopyable conformance!?:\n"
31983198
<< substType << "\n"
3199-
<< "of " << origType << "\n";
3199+
<< "of " << origType << "\n"
3200+
<< "Disable this validation with -Xllvm "
3201+
"-type-lowering-disable-verification.\n";
32003202
assert(false);
32013203
}
32023204
}
@@ -3260,7 +3262,9 @@ void TypeConverter::verifyTrivialLowering(const TypeLowering &lowering,
32603262
llvm::errs() << "Non-trivial type with _BitwiseCopyable conformance!?:\n"
32613263
<< substType << "\n";
32623264
conformance.print(llvm::errs());
3263-
llvm::errs() << "\n";
3265+
llvm::errs() << "\n"
3266+
<< "Disable this validation with -Xllvm "
3267+
"-type-lowering-disable-verification.\n";
32643268
assert(false);
32653269
}
32663270
}

0 commit comments

Comments
 (0)