[ASan][NewPM] Fix byref-args.ll under NPM
authorArthur Eubanks <aeubanks@google.com>
Fri, 18 Sep 2020 17:50:17 +0000 (10:50 -0700)
committerArthur Eubanks <aeubanks@google.com>
Fri, 18 Sep 2020 17:50:53 +0000 (10:50 -0700)
llvm/test/Instrumentation/AddressSanitizer/byref-args.ll

index df2eeb4..277424c 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: opt < %s -asan -S | FileCheck %s
+; RUN: opt < %s -asan -S -enable-new-pm=0 | FileCheck %s
+; RUN: opt < %s -passes='asan-function-pipeline' -S | FileCheck %s
 
 ; Test that for call instructions, the byref arguments are not
 ; instrumented, as no copy is implied.