[llvm] 550a708 - [AIX] Fix dwarf testcases on AIX (#163822)

via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 19 21:48:16 PDT 2025


Author: Mark Danial
Date: 2025-10-20T00:48:12-04:00
New Revision: 550a708294183eaa7b14705d767b01222b99fc0b

URL: https://github.com/llvm/llvm-project/commit/550a708294183eaa7b14705d767b01222b99fc0b
DIFF: https://github.com/llvm/llvm-project/commit/550a708294183eaa7b14705d767b01222b99fc0b.diff

LOG: [AIX] Fix dwarf testcases on AIX (#163822)

These test cases break the aix bots starting
https://lab.llvm.org/buildbot/#/builders/64/builds/6062 and are not
supported on AIX

Added: 
    

Modified: 
    llvm/test/DebugInfo/Generic/compileunit-source-language-name.ll
    llvm/test/DebugInfo/Generic/compileunit-source-language.ll
    llvm/test/DebugInfo/dwarf-complex-int.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/Generic/compileunit-source-language-name.ll b/llvm/test/DebugInfo/Generic/compileunit-source-language-name.ll
index c8cc8717ef66e..f5dcf01c7e89f 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


        


More information about the llvm-commits mailing list