[Lldb-commits] [lldb] def17cd - [lldb][AIX] Added support to load DW_ranges section (#142356)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 2 10:02:15 PDT 2025
Author: Hemang Gadhavi
Date: 2025-06-02T22:32:08+05:30
New Revision: def17cd38f48147ec2ab29674fc5746782c62b47
URL: https://github.com/llvm/llvm-project/commit/def17cd38f48147ec2ab29674fc5746782c62b47
DIFF: https://github.com/llvm/llvm-project/commit/def17cd38f48147ec2ab29674fc5746782c62b47.diff
LOG: [lldb][AIX] Added support to load DW_ranges section (#142356)
This PR is in reference to porting LLDB on AIX.
Link to discussions on llvm discourse and github:
1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640
2. https://github.com/llvm/llvm-project/issues/101657
The complete changes for porting are present in this draft PR:
https://github.com/llvm/llvm-project/pull/102601
- [lldb] [AIX] Added support to load Dwarf Ranges(.dwranges) section.
Added:
Modified:
lldb/source/Plugins/ObjectFile/XCOFF/ObjectFileXCOFF.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/ObjectFile/XCOFF/ObjectFileXCOFF.cpp b/lldb/source/Plugins/ObjectFile/XCOFF/ObjectFileXCOFF.cpp
index e629355cd40b9..84d05e173f83f 100644
--- a/lldb/source/Plugins/ObjectFile/XCOFF/ObjectFileXCOFF.cpp
+++ b/lldb/source/Plugins/ObjectFile/XCOFF/ObjectFileXCOFF.cpp
@@ -239,6 +239,7 @@ void ObjectFileXCOFF::CreateSectionsWithBitness(
.Case(".dwinfo", eSectionTypeDWARFDebugInfo)
.Case(".dwline", eSectionTypeDWARFDebugLine)
.Case(".dwabrev", eSectionTypeDWARFDebugAbbrev)
+ .Case(".dwrnges", eSectionTypeDWARFDebugRanges)
.Default(eSectionTypeInvalid);
}
More information about the lldb-commits
mailing list