[PATCH] D133336: [msan] Convert Msan to ModulePass

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 5 22:21:49 PDT 2022


vitalybuka created this revision.
Herald added subscribers: Enna1, ormris, jdoerfert, hiraditya.
Herald added a project: All.
vitalybuka requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

MemorySanitizerPass function pass violatied requirement 4 of function
pass to do not insert globals. Msan nees to insert globals for origin
tracking, and paramereters tracking.

https://llvm.org/docs/WritingAnLLVMPass.html#the-functionpass-class


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133336

Files:
  clang/lib/CodeGen/BackendUtil.cpp
  llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
  llvm/test/Instrumentation/MemorySanitizer/attributes.ll
  llvm/test/Instrumentation/MemorySanitizer/check-array.ll
  llvm/test/Instrumentation/MemorySanitizer/check-constant-shadow.ll
  llvm/test/Instrumentation/MemorySanitizer/check-struct.ll
  llvm/test/Instrumentation/MemorySanitizer/msan-disable-checks.ll
  llvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
  llvm/test/Instrumentation/MemorySanitizer/msan_debug_info.ll
  llvm/test/Instrumentation/MemorySanitizer/msan_eager.ll
  llvm/test/Instrumentation/MemorySanitizer/msan_llvm_launder_invariant.ll
  llvm/test/Instrumentation/MemorySanitizer/msan_llvm_strip_invariant.ll
  llvm/test/Instrumentation/MemorySanitizer/reduce.ll
  llvm/test/Other/new-pm-print-pipeline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133336.458096.patch
Type: text/x-patch
Size: 18938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220906/1070a4e6/attachment-0001.bin>


More information about the cfe-commits mailing list