aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/asan.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/asan.go')
-rw-r--r--src/runtime/asan.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/asan.go b/src/runtime/asan.go
index 32d5f45225..ee070d3270 100644
--- a/src/runtime/asan.go
+++ b/src/runtime/asan.go
@@ -26,6 +26,7 @@ func ASanWrite(addr unsafe.Pointer, len int) {
// Private interface for the runtime.
const asanenabled = true
+const asanenabledBit = 1
// asan{read,write} are nosplit because they may be called between
// fork and exec, when the stack must not grow. See issue #50391.