[dfsan] Propagate origins at non-memory/phi/call instructions
authorJianzhou Zhao <jianzhouzh@google.com>
Sun, 21 Feb 2021 19:38:56 +0000 (19:38 +0000)
committerJianzhou Zhao <jianzhouzh@google.com>
Tue, 23 Feb 2021 02:12:45 +0000 (02:12 +0000)
commit7424efd5ad57d18de65e1a5e572a04e1348a7e04
tree3966237504fb39a5e68f2c7a725c3d969840cf2a
parent9f527086609ee52122c5495830979a0af0dbc121
[dfsan] Propagate origins at non-memory/phi/call instructions

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

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