[llvm-commits] [llvm] r169504 - /llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp

NAKAMURA Takumi geek4civic at gmail.com
Thu Dec 6 05:38:00 PST 2012


Author: chapuni
Date: Thu Dec  6 07:38:00 2012
New Revision: 169504

URL: http://llvm.org/viewvc/llvm-project?rev=169504&view=rev
Log:
MemorySanitizer.cpp: Suppress a warning. [-Wunused-variable]

Modified:
    llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Modified: llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp?rev=169504&r1=169503&r2=169504&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp Thu Dec  6 07:38:00 2012
@@ -411,6 +411,7 @@
 
       StoreInst *NewSI = IRB.CreateAlignedStore(Shadow, ShadowPtr, I.getAlignment());
       DEBUG(dbgs() << "  STORE: " << *NewSI << "\n");
+      (void)NewSI;
       // If the store is volatile, add a check.
       if (I.isVolatile())
         insertCheck(Val, &I);





More information about the llvm-commits mailing list