[PATCH] D47605: Add weak definitions of trace-cmp hooks to dfsan
Kostya Serebryany via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 31 13:28:20 PDT 2018
kcc created this revision.
kcc added a reviewer: pcc.
Herald added subscribers: Sanitizers, delcypher.
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.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D47605
Files:
lib/dfsan/dfsan_custom.cc
lib/dfsan/scripts/check_custom_wrappers.sh
test/dfsan/trace-cmp.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47605.149349.patch
Type: text/x-patch
Size: 3885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180531/9a6c9181/attachment.bin>
More information about the llvm-commits
mailing list