mirror of
https://github.com/jmcnamara/libxlsxwriter
synced 2025-03-28 21:13:14 +00:00
make: add address sanitiser target
This commit is contained in:
parent
1c87db843f
commit
12d67a6968
5
Makefile
5
Makefile
@ -185,6 +185,11 @@ coverity: clean_src third_party
|
||||
$(Q)$(MAKE) -C src clean
|
||||
$(Q)rm -f lib/*
|
||||
|
||||
# Run address sanitiser.
|
||||
address_sanitiser: third_party
|
||||
$(Q)$(MAKE) -C src libxlsxwriter.a CFLAGS="-fsanitize=address -O1 -fsanitize-coverage=trace-pc-guard -fno-omit-frame-pointer -g"
|
||||
$(Q)$(MAKE) -C examples CFLAGS="-fsanitize=address -O1 -fsanitize-coverage=trace-pc-guard -fno-omit-frame-pointer -g"
|
||||
|
||||
# Run gcov coverage analysis.
|
||||
gcov: third_party
|
||||
$(Q)$(MAKE) -C src clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user