[llvm] r206756 - [asan] add a run-time flag detect_container_overflow=true/false

Kostya Serebryany kcc at google.com
Mon Apr 21 07:47:29 PDT 2014


Wrong commit message. The correct one should be:
[asan] PR17409: actually set asan-instrumentation-with-call-threshold to
10000. This is an ugly workaround for a longstanding bug in codegen


On Mon, Apr 21, 2014 at 7:35 AM, Kostya Serebryany <kcc at google.com> wrote:

> Author: kcc
> Date: Mon Apr 21 09:35:00 2014
> New Revision: 206756
>
> URL: http://llvm.org/viewvc/llvm-project?rev=206756&view=rev
> Log:
> [asan] add a run-time flag detect_container_overflow=true/false
>
> Modified:
>     llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
>
> Modified: llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp?rev=206756&r1=206755&r2=206756&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
> (original)
> +++ llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp Mon Apr
> 21 09:35:00 2014
> @@ -155,7 +155,7 @@ static cl::opt<int> ClInstrumentationWit
>         cl::desc("If the function being instrumented contains more than "
>                  "this number of memory accesses, use callbacks instead of
> "
>                  "inline checks (-1 means never use callbacks)."),
> -       cl::Hidden, cl::init(-1));
> +       cl::Hidden, cl::init(10000));
>  static cl::opt<std::string> ClMemoryAccessCallbackPrefix(
>         "asan-memory-access-callback-prefix",
>         cl::desc("Prefix for memory access callbacks"), cl::Hidden,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140421/bc600021/attachment.html>


More information about the llvm-commits mailing list