[PATCH] More MSan/ASan annotations.

Kostya Serebryany kcc at google.com
Thu Jan 31 02:53:40 PST 2013


  LGTM


================
Comment at: lib/Support/Unix/Program.inc:170
@@ -167,1 +169,3 @@
+  // of virtual memory for shadow memory mapping.
+#if !LLVM_MEMORY_SANITIZER_BUILD && !LLVM_ADDRESS_SANITIZER_BUILD
   // Virtual memory.
----------------
maybe use 
  if( ASAN | MSAN) return
instead of #if ? 


http://llvm-reviews.chandlerc.com/D354



More information about the llvm-commits mailing list