[llvm] 7af4bbb - [test] XFAIL two tests with inlining debug info issues on Sparc

Rainer Orth via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 02:13:34 PDT 2020


Author: Rainer Orth
Date: 2020-08-13T11:12:52+02:00
New Revision: 7af4bbb643393a735b1b49d1b9c4f316a4834333

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

LOG: [test] XFAIL two tests with inlining debug info issues on Sparc

Currently only two test failures remain on Sparc, both
`sparcv9-sun-solaris2.11` and `sparc64-unknown-linux-gnu`:

  LLVM :: DebugInfo/Generic/debug-label-inline.ll
  LLVM :: Linker/subprogram-linkonce-weak.ll

They seem related in that debug info isn't generated for instruction
bundles (like `retl+add` in the delay slot).

I've filed separate bugs for both files (Bug 47129 and 47131), though it's
probably the same issue.

This patch `XFAIL`s the tests.

Tested on `sparcv9-sun-solaris2.11` and `amd64-pc-solaris2.11`.

Differential Revision: https://reviews.llvm.org/D85827

Added: 
    

Modified: 
    llvm/test/DebugInfo/Generic/debug-label-inline.ll
    llvm/test/Linker/subprogram-linkonce-weak.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/Generic/debug-label-inline.ll b/llvm/test/DebugInfo/Generic/debug-label-inline.ll
index 426ce79b4352..42b617628456 100644
--- a/llvm/test/DebugInfo/Generic/debug-label-inline.ll
+++ b/llvm/test/DebugInfo/Generic/debug-label-inline.ll
@@ -1,5 +1,8 @@
 ; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s
 ;
+; Bug 47129
+; XFAIL: sparc
+;
 ; CHECK: .debug_info contents:
 ; CHECK: [[LABEL_ORIGIN:0x[0-9a-zA-Z]+]]:{{ *}}DW_TAG_label
 ; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}"top"

diff  --git a/llvm/test/Linker/subprogram-linkonce-weak.ll b/llvm/test/Linker/subprogram-linkonce-weak.ll
index edd8a9e3a056..7d52e89b0623 100644
--- a/llvm/test/Linker/subprogram-linkonce-weak.ll
+++ b/llvm/test/Linker/subprogram-linkonce-weak.ll
@@ -3,7 +3,10 @@
 ; RUN: llvm-link %S/Inputs/subprogram-linkonce-weak.ll %s -S -o %t2
 ; RUN: FileCheck %s -check-prefix=WL -check-prefix=CHECK <%t2
 ; REQUIRES: default_triple
-
+;
+; Bug 47131
+; XFAIL: sparc
+;
 ; This testcase tests the following flow:
 ;  - File A defines a linkonce version of @foo which has inlined into @bar.
 ;  - File B defines a weak version of @foo (
diff erent definition).


        


More information about the llvm-commits mailing list