From 26ba1f77b55e7a961acc05d94bfa4b677a9e5d83 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 18 Jan 2020 23:12:22 -0800 Subject: [PATCH] [DebugInfo][test] Change two MIR tests to use -start-before=livedebugvalues instead of -start-after=patchable-function To break order dependency between livedebugvalues and patchable-function. --- llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir | 4 ++-- llvm/test/DebugInfo/X86/debug-loc-asan.mir | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir b/llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir index 622a52fc8e96..ab8154edf8c1 100644 --- a/llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir +++ b/llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir @@ -1,5 +1,5 @@ -# RUN: llc -o - %s -mtriple=thumbv7-apple-ios -start-after=patchable-function | FileCheck %s -# RUN: llc -o - %s -mtriple=thumbv6-apple-ios -start-after=patchable-function | FileCheck %s +# RUN: llc -o - %s -mtriple=thumbv7-apple-ios -start-before=livedebugvalues | FileCheck %s +# RUN: llc -o - %s -mtriple=thumbv6-apple-ios -start-before=livedebugvalues | FileCheck %s # struct A { # A(); diff --git a/llvm/test/DebugInfo/X86/debug-loc-asan.mir b/llvm/test/DebugInfo/X86/debug-loc-asan.mir index b09c469f3d9e..abec5796e4b7 100644 --- a/llvm/test/DebugInfo/X86/debug-loc-asan.mir +++ b/llvm/test/DebugInfo/X86/debug-loc-asan.mir @@ -1,5 +1,5 @@ -# RUN: llc -o - %s -start-after=patchable-function -O0 -mtriple=x86_64-unknown-linux-gnu | FileCheck %s -# RUN: llc -o - %s -start-after=patchable-function -O0 -mtriple=x86_64-unknown-linux-gnu -filetype=obj \ +# RUN: llc -o - %s -start-after=livedebugvalues -O0 -mtriple=x86_64-unknown-linux-gnu | FileCheck %s +# RUN: llc -o - %s -start-after=livedebugvalues -O0 -mtriple=x86_64-unknown-linux-gnu -filetype=obj \ # RUN: | llvm-dwarfdump -debug-info - | FileCheck %s --check-prefix=DWARF # # Verify that we have correct debug info for local variables in code -- 2.34.1