[PATCH] D91320: [msan] Break the getShadow loop after matching an argument

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 11:49:29 PST 2020


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2d96859ea612: [msan] Break the getShadow loop after matching an argument (authored by Jianzhou Zhao <jianzhouzh at google.com>).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91320

Files:
  llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp


Index: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
===================================================================
--- llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -1737,6 +1737,8 @@
           } else {
             setOrigin(A, getCleanOrigin());
           }
+
+          break;
         }
 
         if (!FArgEagerCheck)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91320.304919.patch
Type: text/x-patch
Size: 414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201112/f76edd68/attachment.bin>


More information about the llvm-commits mailing list