[all-commits] [llvm/llvm-project] 0f38c5: [llvm-debuginfo-analyzer] Add support for parsing ...

Javier Lopez-Gomez via All-commits all-commits at lists.llvm.org
Fri Jun 6 07:03:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f38c54c6f4c1a45db0864412495cee61a0758e8
      https://github.com/llvm/llvm-project/commit/0f38c54c6f4c1a45db0864412495cee61a0758e8
  Author: Javier Lopez-Gomez <javier.lopez.gomez at proton.me>
  Date:   2025-06-06 (Fri, 06 Jun 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/LVOptions.h
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h
    A llvm/include/llvm/DebugInfo/LogicalView/Core/LVSourceLanguage.h
    M llvm/lib/DebugInfo/LogicalView/CMakeLists.txt
    M llvm/lib/DebugInfo/LogicalView/Core/LVOptions.cpp
    M llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
    A llvm/lib/DebugInfo/LogicalView/Core/LVSourceLanguage.cpp
    M llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.cpp
    M llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
    M llvm/test/tools/llvm-debuginfo-analyzer/COFF/02-coff-logical-lines.test
    M llvm/test/tools/llvm-debuginfo-analyzer/COFF/03-coff-incorrect-lexical-scope-typedef.test
    M llvm/test/tools/llvm-debuginfo-analyzer/COFF/04-coff-missing-nested-enumerators.test
    M llvm/test/tools/llvm-debuginfo-analyzer/COFF/05-coff-incorrect-lexical-scope-variable.test
    M llvm/test/tools/llvm-debuginfo-analyzer/COFF/06-coff-full-logical-view.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/02-dwarf-logical-lines.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/03-dwarf-incorrect-lexical-scope-typedef.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/04-dwarf-missing-nested-enumerators.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/05-dwarf-incorrect-lexical-scope-variable.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/06-dwarf-full-logical-view.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/pr-57040-ignored-DW_FORM_implicit_const.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/pr-57040-incorrect-function-compare.test
    M llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/02-wasm-logical-lines.test
    M llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/03-wasm-incorrect-lexical-scope-typedef.test
    M llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/04-wasm-missing-nested-enumerators.test
    M llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/05-wasm-incorrect-lexical-scope-variable.test
    M llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/06-wasm-full-logical-view.test
    M llvm/test/tools/llvm-debuginfo-analyzer/cmdline.test
    M llvm/tools/llvm-debuginfo-analyzer/Options.cpp
    M llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp
    M llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  Log Message:
  -----------
  [llvm-debuginfo-analyzer] Add support for parsing DWARF / CodeView SourceLanguage (#137223)

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.



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