ruby-changes:71970
From: Samuel <ko1@a...>
Date: Thu, 26 May 2022 22:04:41 +0900 (JST)
Subject: [ruby-changes:71970] bd472ef36f (master): Show ASAN_OPTIONS in hacking guide.
https://git.ruby-lang.org/ruby.git/commit/?id=bd472ef36f From bd472ef36f22de176a886cbe789480e84990b82b Mon Sep 17 00:00:00 2001 From: Samuel Williams <samuel.williams@o...> Date: Fri, 27 May 2022 00:39:05 +1200 Subject: Show ASAN_OPTIONS in hacking guide. --- doc/hacking.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/hacking.md b/doc/hacking.md index fcaead8965..c326e13532 100644 --- a/doc/hacking.md +++ b/doc/hacking.md @@ -103,6 +103,7 @@ Using the address sanitizer is a great way to detect memory issues. https://github.com/ruby/ruby/blob/trunk/doc/hacking.md#L103 ``` shell > ./autogen.sh > mkdir build && cd build +> export ASAN_OPTIONS="halt_on_error=0:use_sigaltstack=0:detect_leaks=0" > ../configure cppflags="-fsanitize=address -fno-omit-frame-pointer" optflags=-O0 LDFLAGS="-fsanitize=address -fno-omit-frame-pointer" > make ``` -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/