Skip to content

Commit 789ec92

Browse files
committed
Remove note
1 parent 338bccd commit 789ec92

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,12 +1450,6 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
14501450
CB->addParamAttr(1, Attribute::ZExt);
14511451
} else {
14521452
FunctionCallee Fn = MS.MaybeWarningVarSizeFn;
1453-
1454-
// Note: we can only dump the current shadow value, not an entire
1455-
// neighborhood shadow map (as ASan does). This is because the shadow
1456-
// value does not necessarily correspond to a user variable: MSan code
1457-
// often combines shadows (e.g., convertShadowToScalar,
1458-
// handleSSEVectorConvertIntrinsic, materializeInstructionChecks).
14591453
Value *ShadowAlloca = IRB.CreateAlloca(ConvertedShadow2->getType(), 0u);
14601454
IRB.CreateStore(ConvertedShadow2, ShadowAlloca);
14611455
unsigned ShadowSize = DL.getTypeAllocSize(ConvertedShadow2->getType());

0 commit comments

Comments
 (0)