From fe7bc872aad83fc0d5cf998230df752e73bb696d Mon Sep 17 00:00:00 2001 From: Zibi Sarbinowski Date: Tue, 24 Sep 2024 09:42:23 -0400 Subject: [PATCH] [DebugInfo][z/OS] XFAIL debug-ranges-duplication.ll on z/OS (#109681) Same fix was provided for AIX in commit 704da919bafa5b088223f9d77424f24ae754539e. The issue is unsupported DWARF 5 section with the following assertion: `Assertion failed: Section && "Cannot switch to a null section!", file: llvm/lib/MC/MCStreamer.cpp, line: 1266 ` --- llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll b/llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll index e9c23100eeda..b31469e899d6 100644 --- a/llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll +++ b/llvm/test/DebugInfo/Generic/debug-ranges-duplication.ll @@ -1,5 +1,5 @@ ; AIX doesn't currently support DWARF 5 section .debug_rnglists -; XFAIL: target={{.*}}-aix{{.*}} +; XFAIL: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}} ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ;