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

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 04:34:00 PDT 2020


ro created this revision.
ro added reviewers: dblaikie, jhenderson, tejohnson, t.p.northover.
Herald added subscribers: fedor.sergeev, aprantl, jyknight.
Herald added a project: LLVM.
ro requested review of this revision.

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 related for inlined functions when LLVM does on other targets.

I've filed separate bugs for both files (Bug 47129 and 47131).

This patch `XFAIL`s the tests.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85827

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


Index: llvm/test/Linker/subprogram-linkonce-weak.ll
===================================================================
--- llvm/test/Linker/subprogram-linkonce-weak.ll
+++ 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 (different definition).
Index: llvm/test/DebugInfo/Generic/debug-label-inline.ll
===================================================================
--- llvm/test/DebugInfo/Generic/debug-label-inline.ll
+++ 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"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85827.285038.patch
Type: text/x-patch
Size: 1125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200812/d443e63a/attachment.bin>


More information about the llvm-commits mailing list