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 f0bdeb4 commit bb50061Copy full SHA for bb50061
clang/lib/CodeGen/MicrosoftCXXABI.cpp
@@ -370,7 +370,7 @@ class MicrosoftCXXABI : public CGCXXABI {
370
MicrosoftVTableContext &VTContext = CGM.getMicrosoftVTableContext();
371
unsigned NumEntries = 1 + SrcRD->getNumVBases();
372
SmallVector<llvm::Constant *, 4> Map(NumEntries,
373
- llvm::UndefValue::get(CGM.IntTy));
+ llvm::PoisonValue::get(CGM.IntTy));
374
Map[0] = llvm::ConstantInt::get(CGM.IntTy, 0);
375
bool AnyDifferent = false;
376
for (const auto &I : SrcRD->vbases()) {
0 commit comments