[all-commits] [llvm/llvm-project] a28db8: [dfsan] Add empty APIs for field-level shadow
Z via All-commits
all-commits at lists.llvm.org
Fri Dec 4 13:47:41 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a28db8b27a232cffcb77d0f902d76ee07cd54c05
https://github.com/llvm/llvm-project/commit/a28db8b27a232cffcb77d0f902d76ee07cd54c05
Author: Jianzhou Zhao <jianzhouzh at google.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Log Message:
-----------
[dfsan] Add empty APIs for field-level shadow
This is a child diff of D92261.
This diff adds APIs that return shadow type/value/zero from origin
objects. For the time being these APIs simply returns primitive
shadow type/value/zero. The following diff will be implementing the
conversion.
As D92261 explains, some cases still use primitive shadow during
the incremential changes. The cases include
1) alloca/load/store
2) custom function IO
3) vectors
At the cases this diff does not use the new APIs, but uses primitive
shadow objects explicitly.
Reviewed-by: morehouse
Differential Revision: https://reviews.llvm.org/D92629
More information about the All-commits
mailing list