Skip to content

Commit d11abdd

Browse files
MaskRayzmodem
authored andcommitted
[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. (cherry picked from commit 26ba1f7)
1 parent e9739ba commit d11abdd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# RUN: llc -o - %s -mtriple=thumbv7-apple-ios -start-after=patchable-function | FileCheck %s
2-
# RUN: llc -o - %s -mtriple=thumbv6-apple-ios -start-after=patchable-function | FileCheck %s
1+
# RUN: llc -o - %s -mtriple=thumbv7-apple-ios -start-before=livedebugvalues | FileCheck %s
2+
# RUN: llc -o - %s -mtriple=thumbv6-apple-ios -start-before=livedebugvalues | FileCheck %s
33

44
# struct A {
55
# A();

llvm/test/DebugInfo/X86/debug-loc-asan.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# RUN: llc -o - %s -start-after=patchable-function -O0 -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
2-
# RUN: llc -o - %s -start-after=patchable-function -O0 -mtriple=x86_64-unknown-linux-gnu -filetype=obj \
1+
# RUN: llc -o - %s -start-after=livedebugvalues -O0 -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
2+
# RUN: llc -o - %s -start-after=livedebugvalues -O0 -mtriple=x86_64-unknown-linux-gnu -filetype=obj \
33
# RUN: | llvm-dwarfdump -debug-info - | FileCheck %s --check-prefix=DWARF
44
#
55
# Verify that we have correct debug info for local variables in code

0 commit comments

Comments
 (0)