llvm-project/compiler-rt/lib/dfsan
Kostya Serebryany d74d04a6c5 Add weak definitions of trace-cmp hooks to dfsan
Summary:
This allows to build and link the code with e.g.
-fsanitize=dataflow -fsanitize-coverage=trace-pc-guard,pc-table,func,trace-cmp
w/o providing (all) the definitions of trace-cmp hooks.

This is similar to dummy hooks provided by asan/ubsan/msan for the same purpose,
except that some of the hooks need to have the __dfsw_ prefix
since we need dfsan to replace them.

Reviewers: pcc

Reviewed By: pcc

Subscribers: delcypher, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D47605

llvm-svn: 333796
2018-06-01 21:59:25 +00:00
..
scripts Add weak definitions of trace-cmp hooks to dfsan 2018-06-01 21:59:25 +00:00
.clang-format [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
CMakeLists.txt Reland "Install resource files into a share/ directory" 2018-01-14 03:43:14 +00:00
dfsan.cc [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
dfsan.h [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
dfsan.syms.extra
dfsan_custom.cc Add weak definitions of trace-cmp hooks to dfsan 2018-06-01 21:59:25 +00:00
dfsan_flags.inc [Sanitizer] Change the runtime flag representation. 2015-01-07 00:38:00 +00:00
dfsan_interceptors.cc [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
dfsan_platform.h dfsan: Enable 48-bit VMA support on aarch64 2016-08-25 17:07:43 +00:00
done_abilist.txt [dfsan] add one more sanitizer-coverage hook to the whitelist 2018-05-09 18:35:09 +00:00
libc_ubuntu1404_abilist.txt