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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 19 00:10:09 PST 2020


Author: Fangrui Song
Date: 2020-01-19T00:09:46-08:00
New Revision: 26ba1f77b55e7a961acc05d94bfa4b677a9e5d83

URL: https://github.com/llvm/llvm-project/commit/26ba1f77b55e7a961acc05d94bfa4b677a9e5d83
DIFF: https://github.com/llvm/llvm-project/commit/26ba1f77b55e7a961acc05d94bfa4b677a9e5d83.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.

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-commits mailing list