Date: Sat, 09 Feb 2019 10:50:16 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 235611] Using kcov results in lockup Message-ID: <bug-235611-227-9pFt1aA1TG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-235611-227@https.bugs.freebsd.org/bugzilla/> References: <bug-235611-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235611 --- Comment #2 from Michael Tuexen <tuexen@freebsd.org> --- The problem is that calling clang with -fsanitize-coverage=trace-pc,trace-cmp -fno-sanitize=all does not turn off the coverage sanitizer. This can be demonstrated: tuexen@epyc:~ % cat test.c int main(void) { return (0); } tuexen@epyc:~ % cc -fsanitize-coverage=trace-pc,trace-cmp -o test_1.o -c test.c tuexen@epyc:~ % cc -fsanitize-coverage=trace-pc,trace-cmp -fno-sanitize-coverage=trace-pc,trace-cmp -o test_2.o -c test.c tuexen@epyc:~ % cc -fsanitize-coverage=trace-pc,trace-cmp -fno-sanitize=all -o test_3.o -c test.c tuexen@epyc:~ % ls -l test_?.o -rw-r--r-- 1 tuexen wheel 1928 Feb 9 11:44 test_1.o -rw-r--r-- 1 tuexen wheel 1016 Feb 9 11:44 test_2.o -rw-r--r-- 1 tuexen wheel 1928 Feb 9 11:44 test_3.o tuexen@epyc:~ % diff test_1.o test_3.o So wither this is a bug in clang or you can't use -fno-sanitize=all to turn off the coverage sanitizers. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235611-227-9pFt1aA1TG>
