[test] Fix alloca-offset-lifetime.ll under NPM
authorArthur Eubanks <aeubanks@google.com>
Wed, 21 Oct 2020 20:30:45 +0000 (13:30 -0700)
committerArthur Eubanks <aeubanks@google.com>
Wed, 21 Oct 2020 20:31:27 +0000 (13:31 -0700)
llvm/test/Instrumentation/AddressSanitizer/alloca-offset-lifetime.ll

index d4bacbc..1a44f45 100644 (file)
@@ -1,6 +1,7 @@
 ; Test that ASAN will not instrument lifetime markers on alloca offsets.
 ;
-; RUN: opt < %s --asan --asan-use-after-scope -S | FileCheck %s
+; RUN: opt < %s --asan --asan-use-after-scope -S -enable-new-pm=0 | FileCheck %s
+; RUN: opt < %s -passes=asan-function-pipeline --asan-use-after-scope -S | FileCheck %s
 
 target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.15.0"