[PATCH] D84446: [MSAN] Allow inserting array checks
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 23 12:33:20 PDT 2020
eugenis added a comment.
Do you want to use this in eager checks when passing an array as a function argument (does that even happen in C++?) ?
================
Comment at: llvm/test/Instrumentation/MemorySanitizer/check-array.ll:10
+; CHECK: %p = inttoptr i64 0 to [2 x i24]*
+ %p = inttoptr i64 0 to [2 x i24] *
+; CHECK: %o = load [2 x i24], [2 x i24]* %p
----------------
just pass a [2xi24]* through the function arguments (and call it something other than main)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84446/new/
https://reviews.llvm.org/D84446
More information about the llvm-commits
mailing list