[PATCH] D57640: [NewPM][MSan] Add Options Handling

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 2 12:49:42 PST 2019


philip.pfaffe created this revision.
philip.pfaffe added reviewers: chandlerc, fedor.sergeev, leonardchan.
Herald added subscribers: bollu, hiraditya.
Herald added a project: LLVM.

This patch enables passing options to msan via the passes pipeline, e.e., -passes=msan<recover;kernel;track-origins=4>.


Repository:
  rL LLVM

https://reviews.llvm.org/D57640

Files:
  clang/lib/CodeGen/BackendUtil.cpp
  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/X86/vararg_call.ll
  llvm/test/Instrumentation/MemorySanitizer/alloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57640.184910.patch
Type: text/x-patch
Size: 10493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190202/d9952be6/attachment.bin>


More information about the llvm-commits mailing list