Introduce --with-tsan to compile with Clang ThreadSanitizer
modified auto.def
@@ -14,13 +14,14 @@ define VERSION $maj_ver.$med_ver.$min_ver[expr {$dev_ver ? ".$dev_ver" : ""}]
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -279,7 +280,7 @@ cc-check-includes bsd/err.h bsd/libutil.h bsd/readpassphrase.h \
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -289,7 +290,7 @@ if {[opt-bool with-asan]} {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -300,12 +301,17 @@ if {[opt-bool with-lsan]} {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified mk/defs.mk.in
@@ -21,6 +21,11 @@ CFLAGS+= @UBSAN_CFLAGS@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|