From 01252b4815f0ca8afa6f05fb1ab1f9b88da617f1 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 15 Apr 2022 20:00:56 -0700 Subject: [PATCH] [asan][test] Remove legacy PM style opt -foo tests --- llvm/test/Instrumentation/AddressSanitizer/asan-stack-safety.ll | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/llvm/test/Instrumentation/AddressSanitizer/asan-stack-safety.ll b/llvm/test/Instrumentation/AddressSanitizer/asan-stack-safety.ll index 29fc686..f4bc203 100644 --- a/llvm/test/Instrumentation/AddressSanitizer/asan-stack-safety.ll +++ b/llvm/test/Instrumentation/AddressSanitizer/asan-stack-safety.ll @@ -1,12 +1,8 @@ ; REQUIRES: x86-registered-target -; RUN: opt < %s -S -enable-new-pm=0 -asan-instrumentation-with-call-threshold=0 -asan \ -; RUN: -asan-use-stack-safety=0 -o - | FileCheck %s --check-prefixes=NOSAFETY -; RUN: opt < %s -S -enable-new-pm=0 -asan-instrumentation-with-call-threshold=0 -asan \ -; RUN: -asan-use-stack-safety=1 -o - | FileCheck %s --check-prefixes=SAFETY -; RUN: opt < %s -S -enable-new-pm=1 -asan-instrumentation-with-call-threshold=0 \ +; RUN: opt < %s -S -asan-instrumentation-with-call-threshold=0 \ ; RUN: -passes='asan-pipeline' -asan-use-stack-safety=0 -o - | FileCheck %s --check-prefixes=NOSAFETY -; RUN: opt < %s -S -enable-new-pm=1 -asan-instrumentation-with-call-threshold=0 \ +; RUN: opt < %s -S -asan-instrumentation-with-call-threshold=0 \ ; RUN: -passes='asan-pipeline' -asan-use-stack-safety=1 -o - | FileCheck %s --check-prefixes=SAFETY ; NOSAFETY: call void @__asan_load1 ; NOSAFETY: call void @__asan_store1 -- 2.7.4