[llvm] d419e34 - [test][HWAsan] Fix kernel-inline.ll under NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 10:56:28 PDT 2020


Author: Arthur Eubanks
Date: 2020-09-18T10:56:08-07:00
New Revision: d419e34c4d7e9e0b2b3f99b77246e57a03b2459b

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

LOG: [test][HWAsan] Fix kernel-inline.ll under NPM

Added: 
    

Modified: 
    llvm/test/Instrumentation/HWAddressSanitizer/kernel-inline.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Instrumentation/HWAddressSanitizer/kernel-inline.ll b/llvm/test/Instrumentation/HWAddressSanitizer/kernel-inline.ll
index 9421fc201ec0..b9791ae4533a 100644
--- a/llvm/test/Instrumentation/HWAddressSanitizer/kernel-inline.ll
+++ b/llvm/test/Instrumentation/HWAddressSanitizer/kernel-inline.ll
@@ -1,7 +1,9 @@
 ; Test kernel inline hwasan instrumentation.
 
-; RUN: opt < %s -asan -asan-kernel=1 -asan-recover=1 -asan-instrumentation-with-call-threshold=10000 -S | FileCheck --check-prefixes=CHECK-INLINE %s
-; RUN: opt < %s -asan -asan-kernel=1 -asan-recover=1 -asan-instrumentation-with-call-threshold=0 -S | FileCheck --check-prefixes=CHECK-CALLBACK %s
+; RUN: opt < %s -asan -asan-kernel=1 -asan-recover=1 -asan-instrumentation-with-call-threshold=10000 -S -enable-new-pm=0 | FileCheck --check-prefixes=CHECK-INLINE %s
+; RUN: opt < %s -asan -asan-kernel=1 -asan-recover=1 -asan-instrumentation-with-call-threshold=0 -S -enable-new-pm=0 | FileCheck --check-prefixes=CHECK-CALLBACK %s
+; RUN: opt < %s -passes=asan-function-pipeline -asan-kernel=1 -asan-recover=1 -asan-instrumentation-with-call-threshold=10000 -S | FileCheck --check-prefixes=CHECK-INLINE %s
+; RUN: opt < %s -passes=asan-function-pipeline -asan-kernel=1 -asan-recover=1 -asan-instrumentation-with-call-threshold=0 -S | FileCheck --check-prefixes=CHECK-CALLBACK %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-unknown-linux-gnu"


        


More information about the llvm-commits mailing list