[llvm-debuginfo-analyzer] (03/09) - Logical elements
authorCarlos Alberto Enciso <carlos.alberto.enciso@gmail.com>
Wed, 19 Oct 2022 10:01:14 +0000 (11:01 +0100)
committerCarlos Alberto Enciso <carlos.alberto.enciso@gmail.com>
Thu, 20 Oct 2022 05:19:20 +0000 (06:19 +0100)
commite28b9357b14c84f1b48646b64eed01fb19dad250
tree0c39c3cff6bd3599e13d6ce7291bf856740faca4
parent14d9ef29304ee16802657311911813aec5bdb9cf
[llvm-debuginfo-analyzer] (03/09) - Logical elements

llvm-debuginfo-analyzer is a command line tool that processes debug
info contained in a binary file and produces a debug information
format agnostic “Logical View”, which is a high-level semantic
representation of the debug info, independent of the low-level
format.

The code has been divided into the following patches:

1) Interval tree
2) Driver and documentation
3) Logical elements
4) Locations and ranges
5) Select elements
6) Warning and internal options
7) Compare elements
8) ELF Reader
9) CodeView Reader

Full details:
https://discourse.llvm.org/t/llvm-dev-rfc-llvm-dva-debug-information-visual-analyzer/62570

This patch:

Logical elements
- All basic functionality for the logical elements:
  LVScope, LVLine, LVSymbol, LVType.
- The logical reader:
  LVReader.h

Reviewed By: psamolysov, probinson

Differential Revision: https://reviews.llvm.org/D125778
21 files changed:
llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h
llvm/include/llvm/DebugInfo/LogicalView/Core/LVLine.h
llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h
llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h [new file with mode: 0644]
llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h
llvm/include/llvm/DebugInfo/LogicalView/Core/LVSort.h
llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
llvm/include/llvm/DebugInfo/LogicalView/Core/LVSymbol.h
llvm/include/llvm/DebugInfo/LogicalView/Core/LVType.h
llvm/lib/DebugInfo/LogicalView/CMakeLists.txt
llvm/lib/DebugInfo/LogicalView/Core/LVElement.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVLine.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVObject.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVReader.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVSort.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVSupport.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVSymbol.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVType.cpp [new file with mode: 0644]
llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
llvm/unittests/DebugInfo/LogicalView/LogicalElementsTest.cpp [new file with mode: 0644]