[PATCH] D92460: [dfsan] Test loading global ptrs
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 13:36:10 PST 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG838ecf2ea483: [dfsan] Test loading global ptrs (authored by Jianzhou Zhao <jianzhouzh at google.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92460/new/
https://reviews.llvm.org/D92460
Files:
llvm/test/Instrumentation/DataFlowSanitizer/load.ll
Index: llvm/test/Instrumentation/DataFlowSanitizer/load.ll
===================================================================
--- llvm/test/Instrumentation/DataFlowSanitizer/load.ll
+++ llvm/test/Instrumentation/DataFlowSanitizer/load.ll
@@ -166,3 +166,12 @@
%a = load i64, i64* %p
ret i64 %a
}
+
+ at X = constant i1 1
+define i1 @load_global() {
+ ; NO_COMBINE_PTR_LABEL: @"dfs$load_global"
+ ; NO_COMBINE_PTR_LABEL: store i16 0, i16* @__dfsan_retval_tls, align 2
+
+ %a = load i1, i1* @X
+ ret i1 %a
+}
\ No newline at end of file
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92460.309045.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/788b4ff5/attachment.bin>
More information about the llvm-commits
mailing list