[llvm] [DebugInfo] Adjusting dwarf version to fix a test failure in aix-ppc64 pipeline (PR #167019)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 7 12:55:16 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-debuginfo

Author: Laxman Sole (laxmansole)

<details>
<summary>Changes</summary>

Test has DWARF V5 but for the targets that uses `XCOFF`, some sections of DWARF v5 are not initialized. 

---
Full diff: https://github.com/llvm/llvm-project/pull/167019.diff


1 Files Affected:

- (modified) llvm/test/DebugInfo/extradata-node-reference.ll (+1-1) 


``````````diff
diff --git a/llvm/test/DebugInfo/extradata-node-reference.ll b/llvm/test/DebugInfo/extradata-node-reference.ll
index 0ec93120faba4..188175617b244 100644
--- a/llvm/test/DebugInfo/extradata-node-reference.ll
+++ b/llvm/test/DebugInfo/extradata-node-reference.ll
@@ -29,7 +29,7 @@
 !1 = !DIFile(filename: "test.cpp", directory: ".")
 !2 = !{i32 2, !"Debug Info Version", i32 3}
 !3 = !{i32 1, !"wchar_size", i32 4}
-!4 = !{i32 2, !"Dwarf Version", i32 5}
+!4 = !{i32 2, !"Dwarf Version", i32 4}
 !8 = !{!9, !16, !24, !35}
 
 ; extraData node definitions

``````````

</details>


https://github.com/llvm/llvm-project/pull/167019


More information about the llvm-commits mailing list