mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[msan] Remove stale comments.
ClStoreCleanOrigin flag was removed back in 2014. llvm-svn: 296844
This commit is contained in:
parent
bd52eeb9f7
commit
371dc8d68a
@ -1942,7 +1942,6 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
|
||||
if (ClCheckAccessAddress)
|
||||
insertShadowCheck(Addr, &I);
|
||||
|
||||
// FIXME: use ClStoreCleanOrigin
|
||||
// FIXME: factor out common code from materializeStores
|
||||
if (MS.TrackOrigins)
|
||||
IRB.CreateStore(getOrigin(&I, 1), getOriginPtr(Addr, IRB, 1));
|
||||
@ -2690,7 +2689,6 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
|
||||
} else {
|
||||
Value *Shadow = getShadow(RetVal);
|
||||
IRB.CreateAlignedStore(Shadow, ShadowPtr, kShadowTLSAlignment);
|
||||
// FIXME: make it conditional if ClStoreCleanOrigin==0
|
||||
if (MS.TrackOrigins)
|
||||
IRB.CreateStore(getOrigin(RetVal), getOriginPtrForRetval(IRB));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user