[llvm] [DebugInfo][AIX] XFAIL debug-ranges-duplication.ll (PR #107525)

Jake Egan via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 22:54:45 PDT 2024


https://github.com/jakeegan created https://github.com/llvm/llvm-project/pull/107525

The test fails with `Assertion failed: Section && "Cannot switch to a null section!"` because of unsupported DWARF 5 section.

>From 5405fe6f1cd2883091aef8a1df2812be847c9c64 Mon Sep 17 00:00:00 2001
From: Jake Egan <Jake.egan at ibm.com>
Date: Fri, 6 Sep 2024 01:53:33 -0400
Subject: [PATCH] [DebugInfo][AIX] XFAIL debug-ranges-duplication.ll

The test fails with `Assertion failed: Section && "Cannot switch to a null section!"` because of unsupported DWARF 5 section.
---
 llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll b/llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll
index 540400be740a5d..e9c23100eeda52 100644
--- a/llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll
+++ b/llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll
@@ -1,3 +1,6 @@
+; AIX doesn't currently support DWARF 5 section .debug_rnglists
+; XFAIL: target={{.*}}-aix{{.*}}
+
 ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
 ;
 ; Generated from the following C++ source with:



More information about the llvm-commits mailing list