llvm-project/compiler-rt/test/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
..
Inputs
CMakeLists.txt [sanitizer] Add macOS minimum deployment target to all compiler invocations in lit tests 2016-11-29 19:25:53 +00:00
basic.c
custom.cc [compiler-rt][dfsan][mips] UnXPASS a consistently passing test 2018-04-06 17:03:36 +00:00
dump_labels.c
flags.c
fncall.c
label_count.c
lit.cfg [dfsan] Run the tests for each supported arch and suffix each one to distinguish them. 2016-02-09 16:20:37 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
propagate.c
trace-cmp.c Add weak definitions of trace-cmp hooks to dfsan 2018-06-01 21:59:25 +00:00
vararg.c
write_callback.c [DFSAN] Another unstable test in AArch64 breaking bots unnecessarily 2016-12-09 19:02:04 +00:00