summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2018-06-01 21:59:25 +0000
committerKostya Serebryany <kcc@google.com>2018-06-01 21:59:25 +0000
commitd74d04a6c5241f9e19147801573d84ed46030ecf (patch)
treebb7c33664fa4ccb5b4a2957c27dda31b4cbee578 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
parentc45479c08edf118fbe34a67abc0dad90c44c278d (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud