diff options
author | Kostya Serebryany <kcc@google.com> | 2018-06-01 21:59:25 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2018-06-01 21:59:25 +0000 |
commit | d74d04a6c5241f9e19147801573d84ed46030ecf (patch) | |
tree | bb7c33664fa4ccb5b4a2957c27dda31b4cbee578 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
parent | c45479c08edf118fbe34a67abc0dad90c44c278d (diff) | |
download | bcm5719-llvm-d74d04a6c5241f9e19147801573d84ed46030ecf.tar.gz bcm5719-llvm-d74d04a6c5241f9e19147801573d84ed46030ecf.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
0 files changed, 0 insertions, 0 deletions