[PATCH] D81699: MemorySanitizer: Add option to insert init checks at call site

Gui Andrade via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 14:12:00 PDT 2020


guiand marked an inline comment as done.
guiand added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp:3497
+
+    if (ClEagerChecks && !CB.hasRetAttr(Attribute::PartialInit)) {
+      setShadow(&CB, getCleanShadow(&CB));
----------------
vitalybuka wrote:
> ClEagerChecks && !PartialInit;
This one is for the return attribute, the other was for the arguments


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81699/new/

https://reviews.llvm.org/D81699





More information about the llvm-commits mailing list