<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[llvm-debuginfo-analyzer] Fix ODR violation in llvm::logicalview::LVObject (#140265)</title>
<updated>2025-06-16T08:47:00+00:00</updated>
<author>
<name>Javier Lopez-Gomez</name>
<email>javier.lopez.gomez@proton.me</email>
</author>
<published>2025-06-16T08:47:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=383b3268794da1ca763deb91cec777742e6e54a8'/>
<id>383b3268794da1ca763deb91cec777742e6e54a8</id>
<content type='text'>
Some data members are only part of a class definition in a Debug build,
e.g. `LVObject::ID`. If `debuginfologicalview` is used as a library,
`NDEBUG` cannot be used for this purpose, as this PP macro may have a
different definition in a downstream project, which in turn triggers an
ODR violation. Fix it by
- Making `LVObject::ID` an unconditional data member.
- Making `LVObject::dump()` non-virtual. Rationale: `virtual` is not
needed (and it calls `print()`, which is virtual anyway).

Fixes #139098.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some data members are only part of a class definition in a Debug build,
e.g. `LVObject::ID`. If `debuginfologicalview` is used as a library,
`NDEBUG` cannot be used for this purpose, as this PP macro may have a
different definition in a downstream project, which in turn triggers an
ODR violation. Fix it by
- Making `LVObject::ID` an unconditional data member.
- Making `LVObject::dump()` non-virtual. Rationale: `virtual` is not
needed (and it calls `print()`, which is virtual anyway).

Fixes #139098.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-debuginfo-analyzer] Add support for parsing DWARF / CodeView SourceLanguage (#137223)</title>
<updated>2025-06-06T14:03:07+00:00</updated>
<author>
<name>Javier Lopez-Gomez</name>
<email>javier.lopez.gomez@proton.me</email>
</author>
<published>2025-06-06T14:03:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0f38c54c6f4c1a45db0864412495cee61a0758e8'/>
<id>0f38c54c6f4c1a45db0864412495cee61a0758e8</id>
<content type='text'>
This pull request adds support for parsing the source language in both
DWARF and CodeView. Specifically,

- The `LVSourceLanguage` class is introduced to represent any supported
language by any of the debug info representations.

- Update `LVDWARFReader.cpp` and `LVCodeViewVisitor.cpp` to parse the
source language where it applies. Added a new `=Language` attribute;
`getAttributeLanguage()` is internally used to control whether this
information is being printed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This pull request adds support for parsing the source language in both
DWARF and CodeView. Specifically,

- The `LVSourceLanguage` class is introduced to represent any supported
language by any of the debug info representations.

- Update `LVDWARFReader.cpp` and `LVCodeViewVisitor.cpp` to parse the
source language where it applies. Added a new `=Language` attribute;
`getAttributeLanguage()` is internally used to control whether this
information is being printed.
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-debuginfo-analyzer] Add support for DWARF `DW_AT_byte_size` (#139110)</title>
<updated>2025-05-22T13:20:40+00:00</updated>
<author>
<name>Javier Lopez-Gomez</name>
<email>javier.lopez.gomez@proton.me</email>
</author>
<published>2025-05-22T13:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9cac4bf485e64f7992f2c01bb9517f6379e58164'/>
<id>9cac4bf485e64f7992f2c01bb9517f6379e58164</id>
<content type='text'>
This PR was split from https://github.com/llvm/llvm-project/pull/137228
(which introduced support for `DW_TAG_module` and `DW_AT_byte_size`).

This PR improves `LVDWARFReader` by introducing handling of
`DW_AT_byte_size`. Most DWARF emitters include this attribute for types
to specify the size of an entity of the given type.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR was split from https://github.com/llvm/llvm-project/pull/137228
(which introduced support for `DW_TAG_module` and `DW_AT_byte_size`).

This PR improves `LVDWARFReader` by introducing handling of
`DW_AT_byte_size`. Most DWARF emitters include this attribute for types
to specify the size of an entity of the given type.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-debuginfo-analyzer] Support DW_TAG_module (#137228)</title>
<updated>2025-05-21T14:05:10+00:00</updated>
<author>
<name>Javier Lopez-Gomez</name>
<email>javier.lopez.gomez@proton.me</email>
</author>
<published>2025-05-21T14:05:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cb575785b96ead29d699201b2d1e1d1203fdb494'/>
<id>cb575785b96ead29d699201b2d1e1d1203fdb494</id>
<content type='text'>
- 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/&lt;stdin&gt;'
[002]      {Producer} 'LLVM version 3.7.0'
           {Directory} '/llvm/tools/clang/test/modules'
           {File} '&lt;stdin&gt;'
[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
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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/&lt;stdin&gt;'
[002]      {Producer} 'LLVM version 3.7.0'
           {Directory} '/llvm/tools/clang/test/modules'
           {File} '&lt;stdin&gt;'
[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
```</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-debuginfo-analyzer] Incorrect DW_AT_call_line/DW_AT_call_file. (#115701)</title>
<updated>2024-11-11T13:00:24+00:00</updated>
<author>
<name>Carlos Alberto Enciso</name>
<email>Carlos.Enciso@sony.com</email>
</author>
<published>2024-11-11T13:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5e7662efec36b0117cfdf85c0182e026e0019c4e'/>
<id>5e7662efec36b0117cfdf85c0182e026e0019c4e</id>
<content type='text'>
The code dealing with DW_AT_call_line/DW_AT_call_file is in the wrong
place. The correct functions were call, but with incorrect values:
  DW_AT_call_line &lt;-- Filename Index
  DW_AT_call_file &lt;-- Line number</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code dealing with DW_AT_call_line/DW_AT_call_file is in the wrong
place. The correct functions were call, but with incorrect values:
  DW_AT_call_line &lt;-- Filename Index
  DW_AT_call_file &lt;-- Line number</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-debuginfo-analyzer][DOC] Convert 'README.txt' to markdown. (#86394)</title>
<updated>2024-03-27T05:27:44+00:00</updated>
<author>
<name>Carlos Alberto Enciso</name>
<email>carlos.alberto.enciso@gmail.com</email>
</author>
<published>2024-03-27T05:27:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9c0c98ed376f8705d0856f29a7ec659120187612'/>
<id>9c0c98ed376f8705d0856f29a7ec659120187612</id>
<content type='text'>
As part of the WebAssembly support work
https://github.com/llvm/llvm-project/pull/85566

The README.txt is a bit odd since it only lists issues and problems
without talking about what works. It’s also hard to read on the GitHub
web view.

- Convert to Markdown and linking to the command docs
https://llvm.org/docs/CommandGuide/llvm-debuginfo-analyzer
- Rename some left 'elf reader' to 'DWARF reader'.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of the WebAssembly support work
https://github.com/llvm/llvm-project/pull/85566

The README.txt is a bit odd since it only lists issues and problems
without talking about what works. It’s also hard to read on the GitHub
web view.

- Convert to Markdown and linking to the command docs
https://llvm.org/docs/CommandGuide/llvm-debuginfo-analyzer
- Rename some left 'elf reader' to 'DWARF reader'.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-debuginfo-analyzer][DOC] Change .wasm references to .o (#85566)</title>
<updated>2024-03-18T05:07:08+00:00</updated>
<author>
<name>Carlos Alberto Enciso</name>
<email>47597242+CarlosAlbertoEnciso@users.noreply.github.com</email>
</author>
<published>2024-03-18T05:07:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c8da99959df412fdbf9c3d0d4c0c3e0689609c31'/>
<id>c8da99959df412fdbf9c3d0d4c0c3e0689609c31</id>
<content type='text'>
As part of the WebAssembly support work
https://github.com/llvm/llvm-project/pull/82588

As the object files used in the test cases are a single object (just
produced by clang without being processed by wasm-ld), it was determined
to use .o intead of .wasm.

Update the README.txt to reflect that the tool now supports WebAssembly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of the WebAssembly support work
https://github.com/llvm/llvm-project/pull/82588

As the object files used in the test cases are a single object (just
produced by clang without being processed by wasm-ld), it was determined
to use .o intead of .wasm.

Update the README.txt to reflect that the tool now supports WebAssembly.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-debuginfo-analyzer] Add support for WebAssembly binary format. (#82588)</title>
<updated>2024-03-14T10:03:18+00:00</updated>
<author>
<name>Carlos Alberto Enciso</name>
<email>47597242+CarlosAlbertoEnciso@users.noreply.github.com</email>
</author>
<published>2024-03-14T10:03:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b19cfb9175223d3e1bb3ef6d49ccd26d0104906c'/>
<id>b19cfb9175223d3e1bb3ef6d49ccd26d0104906c</id>
<content type='text'>
Add support for the WebAssembly binary format and be able to generate
logical views.

https://github.com/llvm/llvm-project/issues/69181

The README.txt includes information about how to build the test cases.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for the WebAssembly binary format and be able to generate
logical views.

https://github.com/llvm/llvm-project/issues/69181

The README.txt includes information about how to build the test cases.</pre>
</div>
</content>
</entry>
<entry>
<title>Recommit [llvm-debuginfo-analyzer] (02/09) - Driver and documentation</title>
<updated>2022-10-18T07:39:26+00:00</updated>
<author>
<name>Carlos Alberto Enciso</name>
<email>carlos.alberto.enciso@gmail.com</email>
</author>
<published>2022-10-18T07:39:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c28a977b87defd2f37fd0808d7ba6173133744ce'/>
<id>c28a977b87defd2f37fd0808d7ba6173133744ce</id>
<content type='text'>
Originally committed in fe7a3cedf77125a6309150d85cecbc20b1a31775

Reverted in 26dd64ba9cfabe5474bb207f3b7099965f81fed7

Buildbot failures:
https://lab.llvm.org/buildbot#builders/139/builds/29663
- unittest trigger an invalid assertion.

https://lab.llvm.org/buildbot#builders/196/builds/19665
- 'has virtual functions but non-virtual destructor' warning as error.

Recommitted with fix:
- Removed the assertion.
- Added virtual destructor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally committed in fe7a3cedf77125a6309150d85cecbc20b1a31775

Reverted in 26dd64ba9cfabe5474bb207f3b7099965f81fed7

Buildbot failures:
https://lab.llvm.org/buildbot#builders/139/builds/29663
- unittest trigger an invalid assertion.

https://lab.llvm.org/buildbot#builders/196/builds/19665
- 'has virtual functions but non-virtual destructor' warning as error.

Recommitted with fix:
- Removed the assertion.
- Added virtual destructor.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[llvm-debuginfo-analyzer] (02/09) - Driver and documentation"</title>
<updated>2022-10-17T13:26:48+00:00</updated>
<author>
<name>Carlos Alberto Enciso</name>
<email>carlos.alberto.enciso@gmail.com</email>
</author>
<published>2022-10-17T13:26:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=26dd64ba9cfabe5474bb207f3b7099965f81fed7'/>
<id>26dd64ba9cfabe5474bb207f3b7099965f81fed7</id>
<content type='text'>
This reverts commit fe7a3cedf77125a6309150d85cecbc20b1a31775.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit fe7a3cedf77125a6309150d85cecbc20b1a31775.
</pre>
</div>
</content>
</entry>
</feed>
