[PATCH] D83921: [NewPM][ASan] Make ASan tests work under NPM

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 13:22:06 PDT 2020


vitalybuka added inline comments.


================
Comment at: llvm/test/Instrumentation/AddressSanitizer/adaptive_global_redzones.ll:1
-; RUN: opt < %s -asan -asan-module -S | FileCheck %s
-; RUN: opt < %s -asan -asan-module -asan-mapping-scale=5 -S | FileCheck %s
+; RUN: opt < %s -asan -asan-module -enable-new-pm=0 -S | FileCheck %s
+; RUN: opt < %s -passes='require<asan-globals-md>,function(asan),module(asan-module)' -S | FileCheck %s
----------------
I assumed that "-asan -asan-module" is a explicit way to call old pm and -passes= for newpm
should opt still use old pm for former even after switch to new PM by default? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83921





More information about the llvm-commits mailing list