mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Show ASAN_OPTIONS in hacking guide.
This commit is contained in:
parent
46cf3bf333
commit
bd472ef36f
Notes:
git
2022-05-26 22:04:48 +09:00
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ Using the address sanitizer is a great way to detect memory issues.
|
|||
``` 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
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue