1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[DI][ASan][NewPM] Fix some DebugInfo ASan tests under NPM

This commit is contained in:
Arthur Eubanks 2020-09-22 08:27:46 -07:00
parent 09fd7108ad
commit 6d75c366ed
2 changed files with 6 additions and 2 deletions

View File

@ -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: ; The IR of this testcase is generated from the following C code:
; void bar (int); ; void bar (int);

View File

@ -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: llc -O0 -filetype=obj - -o - | \
; RUN: llvm-dwarfdump - | FileCheck %s ; RUN: llvm-dwarfdump - | FileCheck %s