[all-commits] [llvm/llvm-project] e7bac3: [msan] Convert Msan to ModulePass

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Sep 6 15:01:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7bac3b9fa739f8d167a390a547068aad1d424a7
      https://github.com/llvm/llvm-project/commit/e7bac3b9fa739f8d167a390a547068aad1d424a7
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

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

  Log Message:
  -----------
  [msan] Convert Msan to ModulePass

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

Reviewed By: kstoimenov, fmayer

Differential Revision: https://reviews.llvm.org/D133336




More information about the All-commits mailing list