[PATCH] D92632: [dfsan] Add a test case of storing zero
stephan.yichao.zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 3 21:41:55 PST 2020
stephan.yichao.zhao created this revision.
stephan.yichao.zhao added a reviewer: morehouse.
stephan.yichao.zhao requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This covers a branch in storeShadow.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92632
Files:
llvm/test/Instrumentation/DataFlowSanitizer/store.ll
Index: llvm/test/Instrumentation/DataFlowSanitizer/store.ll
===================================================================
--- llvm/test/Instrumentation/DataFlowSanitizer/store.ll
+++ llvm/test/Instrumentation/DataFlowSanitizer/store.ll
@@ -158,3 +158,9 @@
store i64 %v, i64* %p
ret void
}
+
+define void @store_zero(i32* %p) {
+ ; NO_COMBINE_PTR_LABEL: store i64 0, i64* {{.*}}, align 2
+ store i32 0, i32* %p
+ ret void
+}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92632.309455.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201204/fcf16c70/attachment.bin>
More information about the llvm-commits
mailing list