mirror of
https://github.com/lua/lua
synced 2024-11-22 04:41:23 +03:00
Details
Added comments in the makefile about other useful '-fsanitize' options.
This commit is contained in:
parent
1e64c1391f
commit
ba089bcb08
9
makefile
9
makefile
@ -57,8 +57,13 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC)
|
||||
|
||||
# -pg -malign-double
|
||||
# -DLUA_USE_CTYPE -DLUA_USE_APICHECK
|
||||
# ('-ftrapv' for runtime checks of integer overflows)
|
||||
# -fsanitize=undefined -ftrapv -fno-inline
|
||||
|
||||
# The following options help detect "undefined behavior"s that seldom
|
||||
# create problems; some are only available in newer gcc versions. To
|
||||
# use some of them, we also have to define an enrivonment variable
|
||||
# ASAN_OPTIONS="detect_invalid_pointer_pairs=2".
|
||||
# -fsanitize=undefined
|
||||
# -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare
|
||||
# TESTS= -DLUA_USER_H='"ltests.h"' -O0 -g
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user