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

Alexey Samsonov samsonov at google.com
Tue Jan 22 05:42:02 PST 2013


FTR: To control the value of __msan_keep_going at compile time you can
probably re-use existing top-level Clang flag "-fsanitize-recover"


On Tue, Jan 22, 2013 at 5:26 PM, Evgeniy Stepanov <eugeni.stepanov at gmail.com
> wrote:

> Author: eugenis
> Date: Tue Jan 22 07:26:53 2013
> New Revision: 173156
>
> URL: http://llvm.org/viewvc/llvm-project?rev=173156&view=rev
> Log:
> [msan] Export the value of msan-keep-going flag for the runtime.
>
> 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=173156&r1=173155&r2=173156&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
> (original)
> +++ llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp Tue Jan
> 22 07:26:53 2013
> @@ -361,6 +361,9 @@
>    new GlobalVariable(M, IRB.getInt32Ty(), true,
> GlobalValue::WeakODRLinkage,
>                       IRB.getInt32(TrackOrigins), "__msan_track_origins");
>
> +  new GlobalVariable(M, IRB.getInt32Ty(), true,
> GlobalValue::WeakODRLinkage,
> +                     IRB.getInt32(ClKeepGoing), "__msan_keep_going");
> +
>    return true;
>  }
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130122/21f5e3fd/attachment.html>


More information about the llvm-commits mailing list