[llvm] be2158b - [DI][ASan][NewPM] Fix some DebugInfo ASan tests under NPM
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 08:29:07 PDT 2020
Author: Arthur Eubanks
Date: 2020-09-22T08:28:54-07:00
New Revision: be2158bdccda5e7c3d9492654500293f8399b87c
URL: https://github.com/llvm/llvm-project/commit/be2158bdccda5e7c3d9492654500293f8399b87c
DIFF: https://github.com/llvm/llvm-project/commit/be2158bdccda5e7c3d9492654500293f8399b87c.diff
LOG: [DI][ASan][NewPM] Fix some DebugInfo ASan tests under NPM
Added:
Modified:
llvm/test/DebugInfo/Generic/block-asan.ll
llvm/test/DebugInfo/X86/asan_debug_info.ll
Removed:
################################################################################
diff --git a/llvm/test/DebugInfo/Generic/block-asan.ll b/llvm/test/DebugInfo/Generic/block-asan.ll
index a686d427f743..c245deba2918 100644
--- a/llvm/test/DebugInfo/Generic/block-asan.ll
+++ b/llvm/test/DebugInfo/Generic/block-asan.ll
@@ -1,4 +1,5 @@
-; RUN: opt -S -asan %s | FileCheck %s
+; RUN: opt -S -asan -enable-new-pm=0 %s | FileCheck %s
+; RUN: opt -S -passes=asan-function-pipeline %s | FileCheck %s
; The IR of this testcase is generated from the following C code:
; void bar (int);
diff --git a/llvm/test/DebugInfo/X86/asan_debug_info.ll b/llvm/test/DebugInfo/X86/asan_debug_info.ll
index 37aee265af70..3f2ecc2faa43 100644
--- a/llvm/test/DebugInfo/X86/asan_debug_info.ll
+++ b/llvm/test/DebugInfo/X86/asan_debug_info.ll
@@ -1,4 +1,7 @@
-; RUN: opt < %s -asan -asan-module -asan-use-after-return=0 -S | \
+; RUN: opt < %s -asan -asan-module -asan-use-after-return=0 -S -enable-new-pm=0 | \
+; RUN: llc -O0 -filetype=obj - -o - | \
+; RUN: llvm-dwarfdump - | FileCheck %s
+; RUN: opt < %s -passes=asan-pipeline -asan-use-after-return=0 -S | \
; RUN: llc -O0 -filetype=obj - -o - | \
; RUN: llvm-dwarfdump - | FileCheck %s
More information about the llvm-commits
mailing list