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.
undef
poison
1 parent 8c939f5 commit 6eb32a2Copy full SHA for 6eb32a2
clang/lib/CodeGen/CGException.cpp
@@ -2145,7 +2145,7 @@ llvm::Value *CodeGenFunction::EmitSEHExceptionInfo() {
2145
// Sema should diagnose calling this builtin outside of a filter context, but
2146
// don't crash if we screw up.
2147
if (!SEHInfo)
2148
- return llvm::UndefValue::get(Int8PtrTy);
+ return llvm::PoisonValue::get(Int8PtrTy);
2149
assert(SEHInfo->getType() == Int8PtrTy);
2150
return SEHInfo;
2151
}
0 commit comments