wscript: ease debugging with sanitizers under Clang
This commit is contained in:
parent
938a9f372f
commit
0ce8d92f27
1 changed files with 2 additions and 2 deletions
4
wscript
4
wscript
|
@ -170,8 +170,8 @@ def configure(conf):
|
||||||
'sanitize': {
|
'sanitize': {
|
||||||
'msvc': ['/Od', '/RTC1'],
|
'msvc': ['/Od', '/RTC1'],
|
||||||
'gcc': ['-Og', '-fsanitize=undefined', '-fsanitize=address'],
|
'gcc': ['-Og', '-fsanitize=undefined', '-fsanitize=address'],
|
||||||
'clang': ['-O1', '-fsanitize=undefined', '-fsanitize=address'],
|
'clang': ['-O0', '-fsanitize=undefined', '-fsanitize=address'],
|
||||||
'default': ['-O1']
|
'default': ['-O0']
|
||||||
},
|
},
|
||||||
'nooptimize': {
|
'nooptimize': {
|
||||||
'msvc': ['/Od'],
|
'msvc': ['/Od'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue