================
@@ -2498,6 +2499,15 @@ struct MemorySanitizerVisitor : public
InstVisitor<MemorySanitizerVisitor> {
MSV->setOrigin(I, Origin);
}
}
+
+ /// Store the current combined value at the specified origin
+ /// location.
+ void DoneAndStoreOrigin(TypeSize TS, Value *OriginPtr) {
+ if (MSV->MS.TrackOrigins) {
+ assert(Origin);
+ MSV->paintOrigin(IRB, Origin, OriginPtr, TS, Align(1));
----------------
vitalybuka wrote:
I guess LGTM, if we don't know Ptr Alignment
https://github.com/llvm/llvm-project/pull/99360
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits