[dfsan] Update memset and dfsan_(set|add)_label with origin tracking
authorJianzhou Zhao <jianzhouzh@google.com>
Tue, 23 Feb 2021 04:24:42 +0000 (04:24 +0000)
committerJianzhou Zhao <jianzhouzh@google.com>
Tue, 23 Feb 2021 23:16:33 +0000 (23:16 +0000)
commita05aa0dd5ef8f5633d49192f32a3d0b4653b8a0c
tree91ebcc821027aa7c4608445bdf77a855090fc87f
parent1d7f1d15c517db2bde30228dfdcb17f6471f7916
[dfsan] Update memset and dfsan_(set|add)_label with origin tracking

This is a part of https://reviews.llvm.org/D95835.

Reviewed-by: morehouse
Differential Revision: https://reviews.llvm.org/D97302
compiler-rt/lib/dfsan/dfsan.cpp
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
llvm/test/Instrumentation/DataFlowSanitizer/basic.ll
llvm/test/Instrumentation/DataFlowSanitizer/memset.ll
llvm/test/Instrumentation/DataFlowSanitizer/origin_mem_intrinsic.ll [new file with mode: 0644]