[llvm] [AIX] Fix dwarf testcases on AIX (PR #163822)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 16 09:44:18 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-debuginfo
Author: Mark Danial (madanial0)
<details>
<summary>Changes</summary>
These test cases break the aix bots starting https://lab.llvm.org/buildbot/#/builders/64/builds/6062 and are not supported on AIX
---
Full diff: https://github.com/llvm/llvm-project/pull/163822.diff
3 Files Affected:
- (modified) llvm/test/DebugInfo/Generic/compileunit-source-language-name.ll (+2)
- (modified) llvm/test/DebugInfo/Generic/compileunit-source-language.ll (+2)
- (modified) llvm/test/DebugInfo/dwarf-complex-int.ll (+2)
``````````diff
diff --git a/llvm/test/DebugInfo/Generic/compileunit-source-language-name.ll b/llvm/test/DebugInfo/Generic/compileunit-source-language-name.ll
index e2b6167cab910..54ef7c799f98c 100644
--- a/llvm/test/DebugInfo/Generic/compileunit-source-language-name.ll
+++ b/llvm/test/DebugInfo/Generic/compileunit-source-language-name.ll
@@ -1,3 +1,5 @@
+; AIX doesn't have support for DWARF 6 DW_AT_language_name
+; XFAIL: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info - | FileCheck %s --implicit-check-not "DW_AT_language"
; CHECK: DW_AT_language_name (DW_LNAME_ObjC_plus_plus)
diff --git a/llvm/test/DebugInfo/Generic/compileunit-source-language.ll b/llvm/test/DebugInfo/Generic/compileunit-source-language.ll
index bafe6206c241a..dc5bf0f4a3ee3 100644
--- a/llvm/test/DebugInfo/Generic/compileunit-source-language.ll
+++ b/llvm/test/DebugInfo/Generic/compileunit-source-language.ll
@@ -1,3 +1,5 @@
+; AIX doesn't have support for DWARF 6 DW_AT_language_name
+; XFAIL: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info - | FileCheck %s --implicit-check-not "DW_AT_language_name"
; CHECK: DW_AT_language (DW_LANG_C)
diff --git a/llvm/test/DebugInfo/dwarf-complex-int.ll b/llvm/test/DebugInfo/dwarf-complex-int.ll
index effd0ece2c445..84be51e96156a 100644
--- a/llvm/test/DebugInfo/dwarf-complex-int.ll
+++ b/llvm/test/DebugInfo/dwarf-complex-int.ll
@@ -1,4 +1,6 @@
; REQUIRES: object-emission
+; AIX doesn't have full support for DWARF 5
+; XFAIL: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
; RUN: %llc_dwarf %s -filetype=obj -o - | llvm-dwarfdump - | FileCheck %s
;; https://github.com/llvm/llvm-project/issues/140362
``````````
</details>
https://github.com/llvm/llvm-project/pull/163822
More information about the llvm-commits
mailing list