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

stephan.yichao.zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 21:23:35 PST 2020


stephan.yichao.zhao created this revision.
stephan.yichao.zhao added a reviewer: eugenis.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
stephan.yichao.zhao requested review of this revision.

Repository:
  rG LLVM Github Monorepo

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.304713.patch
Type: text/x-patch
Size: 414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201112/0d126d4f/attachment.bin>


More information about the llvm-commits mailing list