[PATCH] D77249: [MSan] Pass command line options to MSan with new pass manager

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 6 14:09:28 PDT 2020


vitalybuka added inline comments.


================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:1232
         PB.registerScalarOptimizerLateEPCallback(
             [](FunctionPassManager &FPM, PassBuilder::OptimizationLevel Level) {
               FPM.addPass(BoundsCheckingPass());
----------------
this patch changes behavior of clang CodeGen, so it should have tests there.
probably in a test similar to clang/test/CodeGen/asan-new-pm.ll


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77249/new/

https://reviews.llvm.org/D77249





More information about the cfe-commits mailing list