[llvm] r190905 - ifndef NDEBUG-out an asserts-only constant committed in r190863

Kostya Serebryany kcc at google.com
Wed Sep 18 01:06:44 PDT 2013


Thanks!


On Wed, Sep 18, 2013 at 4:11 AM, David Blaikie <dblaikie at gmail.com> wrote:

> Author: dblaikie
> Date: Tue Sep 17 19:11:27 2013
> New Revision: 190905
>
> URL: http://llvm.org/viewvc/llvm-project?rev=190905&view=rev
> Log:
> ifndef NDEBUG-out an asserts-only constant committed in r190863
>
> 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=190905&r1=190904&r2=190905&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
> (original)
> +++ llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp Tue Sep
> 17 19:11:27 2013
> @@ -93,7 +93,9 @@ static const int kAsanStackLeftRedzoneMa
>  static const int kAsanStackMidRedzoneMagic = 0xf2;
>  static const int kAsanStackRightRedzoneMagic = 0xf3;
>  static const int kAsanStackPartialRedzoneMagic = 0xf4;
> +#ifndef NDEBUG
>  static const int kAsanStackAfterReturnMagic = 0xf5;
> +#endif
>
>  // Accesses sizes are powers of two: 1, 2, 4, 8, 16.
>  static const size_t kNumberOfAccessSizes = 5;
>
>
> _______________________________________________
> 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/20130918/a2c068fe/attachment.html>


More information about the llvm-commits mailing list