[llvm] r190905 - ifndef NDEBUG-out an asserts-only constant committed in r190863
David Blaikie
dblaikie at gmail.com
Tue Sep 17 17:11:28 PDT 2013
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;
More information about the llvm-commits
mailing list