================ @@ -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:
Origin aligment must be 4+ `const Align OriginAlignment = std::max(kMinOriginAlignment, Alignment);` and I suspect this instruction guaranty some `Alignment`? https://github.com/llvm/llvm-project/pull/99360 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits