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

2020-05-11 Thread Jinsong Ji via Phabricator via cfe-commits
jsji added a comment. Herald added a subscriber: wuzish. NOTE that https://reviews.llvm.org/D79445 has committed a similar fix and fixed most of the failures. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D77249/new/ https://reviews.llvm.org/D77249

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

2020-05-09 Thread Vitaly Buka via Phabricator via cfe-commits
vitalybuka added inline comments. Comment at: compiler-rt/test/msan/chained_origin_empty_stack_npm.cpp:4 +// this test. +// RUN: %clangxx_msan -fsanitize-memory-track-origins=2 \ +// RUN: -fexperimental-new-pass-manager -O3 %s -o %t && \ vitalybuka wrote: > r

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

2020-05-07 Thread Vitaly Buka via Phabricator via cfe-commits
vitalybuka added inline comments. Comment at: clang/lib/CodeGen/BackendUtil.cpp:1232 PB.registerScalarOptimizerLateEPCallback( [](FunctionPassManager &FPM, PassBuilder::OptimizationLevel Level) { FPM.addPass(BoundsCheckingPass()); ---

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

2020-05-07 Thread Vitaly Buka via Phabricator via cfe-commits
vitalybuka added inline comments. Comment at: compiler-rt/test/msan/chained_origin_empty_stack_npm.cpp:4 +// this test. +// RUN: %clangxx_msan -fsanitize-memory-track-origins=2 \ +// RUN: -fexperimental-new-pass-manager -O3 %s -o %t && \ rnk wrote: > leonardc

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

2020-04-09 Thread Reid Kleckner via Phabricator via cfe-commits
rnk added inline comments. Comment at: compiler-rt/test/msan/chained_origin_empty_stack_npm.cpp:4 +// this test. +// RUN: %clangxx_msan -fsanitize-memory-track-origins=2 \ +// RUN: -fexperimental-new-pass-manager -O3 %s -o %t && \ leonardchan wrote: > nemanja

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

2020-04-03 Thread Leonard Chan via Phabricator via cfe-commits
leonardchan added inline comments. Comment at: compiler-rt/test/msan/chained_origin_empty_stack_npm.cpp:4 +// this test. +// RUN: %clangxx_msan -fsanitize-memory-track-origins=2 \ +// RUN: -fexperimental-new-pass-manager -O3 %s -o %t && \ nemanjai wrote: > ne

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

2020-04-02 Thread Vitaly Buka via Phabricator via cfe-commits
vitalybuka added inline comments. Comment at: compiler-rt/test/msan/chained_origin_empty_stack_npm.cpp:4 +// this test. +// RUN: %clangxx_msan -fsanitize-memory-track-origins=2 \ +// RUN: -fexperimental-new-pass-manager -O3 %s -o %t && \ Why not to add RUN: s

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

2020-04-02 Thread Nemanja Ivanovic via Phabricator via cfe-commits
nemanjai marked an inline comment as done. nemanjai added inline comments. Comment at: compiler-rt/test/msan/chained_origin_empty_stack_npm.cpp:4 +// this test. +// RUN: %clangxx_msan -fsanitize-memory-track-origins=2 \ +// RUN: -fexperimental-new-pass-manager -O3 %s -o %t &&

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

2020-04-02 Thread Nemanja Ivanovic via Phabricator via cfe-commits
nemanjai marked an inline comment as done. nemanjai added inline comments. Comment at: compiler-rt/test/msan/chained_origin_empty_stack_npm.cpp:4 +// this test. +// RUN: %clangxx_msan -fsanitize-memory-track-origins=2 \ +// RUN: -fexperimental-new-pass-manager -O3 %s -o %t &&

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

2020-04-02 Thread Nemanja Ivanovic via Phabricator via cfe-commits
nemanjai created this revision. nemanjai added reviewers: eugenis, vitalybuka, philip.pfaffe, leonardchan, PowerPC. Herald added projects: clang, Sanitizers. Herald added subscribers: Sanitizers, cfe-commits. There are a number of test cases that fail when clang is built to use NPM by default. T