mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
-fno-omit-frame-pointer to get full backtraces in asan build.
This commit is contained in:
parent
36ab416f73
commit
47ba3fd7c7
@ -155,7 +155,8 @@ fi
|
|||||||
# asan and coverage next.
|
# asan and coverage next.
|
||||||
echo "===> building a.out and darkhttpd.gcno for coverage + asan + ubsan"
|
echo "===> building a.out and darkhttpd.gcno for coverage + asan + ubsan"
|
||||||
$CC -g -O2 -fprofile-arcs -ftest-coverage -fsanitize=address \
|
$CC -g -O2 -fprofile-arcs -ftest-coverage -fsanitize=address \
|
||||||
-fsanitize=undefined -DDEBUG -DAPBUF_INIT=1 ../darkhttpd.c || exit 1
|
-fsanitize=undefined -fno-omit-frame-pointer -DDEBUG -DAPBUF_INIT=1 \
|
||||||
|
../darkhttpd.c || exit 1
|
||||||
(export ASAN_OPTIONS=detect_leaks=1; runtests) || {
|
(export ASAN_OPTIONS=detect_leaks=1; runtests) || {
|
||||||
echo "FAILED! stderr was:"
|
echo "FAILED! stderr was:"
|
||||||
echo "---"
|
echo "---"
|
||||||
|
Loading…
Reference in New Issue
Block a user