[llvm] e045d84 - [test] Fix alloca-offset-lifetime.ll under NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 13:31:52 PDT 2020


Author: Arthur Eubanks
Date: 2020-10-21T13:31:27-07:00
New Revision: e045d844e635b985adc52514ac15cfb753c2bda5

URL: https://github.com/llvm/llvm-project/commit/e045d844e635b985adc52514ac15cfb753c2bda5
DIFF: https://github.com/llvm/llvm-project/commit/e045d844e635b985adc52514ac15cfb753c2bda5.diff

LOG: [test] Fix alloca-offset-lifetime.ll under NPM

Added: 
    

Modified: 
    llvm/test/Instrumentation/AddressSanitizer/alloca-offset-lifetime.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Instrumentation/AddressSanitizer/alloca-offset-lifetime.ll b/llvm/test/Instrumentation/AddressSanitizer/alloca-offset-lifetime.ll
index d4bacbcae4d97..1a44f4585b7a7 100644
--- a/llvm/test/Instrumentation/AddressSanitizer/alloca-offset-lifetime.ll
+++ b/llvm/test/Instrumentation/AddressSanitizer/alloca-offset-lifetime.ll
@@ -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"


        


More information about the llvm-commits mailing list