[llvm-branch-commits] [llvm] d11abdd - [DebugInfo][test] Change two MIR tests to use -start-before=livedebugvalues instead of -start-after=patchable-function

Hans Wennborg via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 24 13:05:31 PST 2020


Author: Fangrui Song
Date: 2020-01-24T22:03:02+01:00
New Revision: d11abddb32f6475441872ed19e0e3091d7d7f087

URL: https://github.com/llvm/llvm-project/commit/d11abddb32f6475441872ed19e0e3091d7d7f087
DIFF: https://github.com/llvm/llvm-project/commit/d11abddb32f6475441872ed19e0e3091d7d7f087.diff

LOG: [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 26ba1f77b55e7a961acc05d94bfa4b677a9e5d83)

Added: 
    

Modified: 
    llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir
    llvm/test/DebugInfo/X86/debug-loc-asan.mir

Removed: 
    


################################################################################
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


        


More information about the llvm-branch-commits mailing list