[PATCH] D116855: Add 'eager-checks' as a module parameter to MSAN.

Kevin Athey via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 7 22:18:34 PST 2022


kda created this revision.
kda added a reviewer: vitalybuka.
Herald added a subscriber: hiraditya.
kda requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This creates a way to configure MSAN to for eager checks that will be leveraged
by the introduction of a clang flag (-fsanitize-memory-param-retval).

This is redundant with the existing flag: -mllvm -msan-eager-checks.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116855

Files:
  llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
  llvm/test/Instrumentation/MemorySanitizer/msan_eager.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116855.398309.patch
Type: text/x-patch
Size: 6280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220108/f93f4c9c/attachment.bin>


More information about the llvm-commits mailing list