Extend the dfsan store/load callback with write/read address
authorJianzhou Zhao <jianzhouzh@google.com>
Fri, 13 Nov 2020 19:46:32 +0000 (19:46 +0000)
committerJianzhou Zhao <jianzhouzh@google.com>
Fri, 13 Nov 2020 19:46:32 +0000 (19:46 +0000)
commit06c9b4aaa97368a2904e6e661ea6a14ef127416f
treeb44818dd084fb46aa699aded8feca65677417573
parent5a4b2e1541f399c146a4ef5cf8f6aaf8b258a77b
Extend the dfsan store/load callback with write/read address

This helped debugging.

Reviewed-by: morehouse
Differential Revision: https://reviews.llvm.org/D91236
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
llvm/test/Instrumentation/DataFlowSanitizer/callback.ll [new file with mode: 0644]