[all-commits] [llvm/llvm-project] cb5757: [llvm-debuginfo-analyzer] Support DW_TAG_module (#...
Javier Lopez-Gomez via All-commits
all-commits at lists.llvm.org
Wed May 21 07:05:33 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cb575785b96ead29d699201b2d1e1d1203fdb494
https://github.com/llvm/llvm-project/commit/cb575785b96ead29d699201b2d1e1d1203fdb494
Author: Javier Lopez-Gomez <javier.lopez.gomez at proton.me>
Date: 2025-05-21 (Wed, 21 May 2025)
Changed paths:
M llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h
M llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
M llvm/tools/llvm-debuginfo-analyzer/Options.cpp
M llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp
A llvm/unittests/DebugInfo/LogicalView/Inputs/test-dwarf-clang-module.o
Log Message:
-----------
[llvm-debuginfo-analyzer] Support DW_TAG_module (#137228)
- Adds support for `DW_TAG_module` DIEs and recurse over their children.
Prior to this patch, entities hanging below `DW_TAG_module` were just
not visible. This DIE kind is commonly generated by Objective-C modules.
This patch will represent such entities, which will print as
```
[001] {CompileUnit} '/llvm/tools/clang/test/modules/<stdin>'
[002] {Producer} 'LLVM version 3.7.0'
{Directory} '/llvm/tools/clang/test/modules'
{File} '<stdin>'
[002] {Module} 'DebugModule'
```
The minimal test case included is just the result of
```
$ llc llvm/test/DebugInfo/X86/DIModule.ll
-accel-tables=Dwarf
-o llvm/unittests/DebugInfo/LogicalView/Inputs/test-dwarf-clang-module.o
-filetype=obj
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list