[llvm-debuginfo-analyzer] (04/09) - Locations and ranges
authorCarlos Alberto Enciso <carlos.alberto.enciso@gmail.com>
Thu, 20 Oct 2022 06:01:31 +0000 (07:01 +0100)
committerCarlos Alberto Enciso <carlos.alberto.enciso@gmail.com>
Thu, 20 Oct 2022 07:31:13 +0000 (08:31 +0100)
commit3c397c90c18377b1996783b994fba42d0b1649a2
tree6b83028be56d62ea1c1b62ee7f236e64444fe258
parent3f59734e0c25ffcd8b522d2ccd8484941a819fca
[llvm-debuginfo-analyzer] (04/09) - Locations and ranges

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:

Locations and ranges
- All functionality for logical debug locations and ranges:
  LVLocation, LVRanges.

Reviewed By: psamolysov, probinson

Differential Revision: https://reviews.llvm.org/D125779
17 files changed:
llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h [new file with mode: 0644]
llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h
llvm/include/llvm/DebugInfo/LogicalView/Core/LVRange.h [new file with mode: 0644]
llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h
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/lib/DebugInfo/LogicalView/CMakeLists.txt
llvm/lib/DebugInfo/LogicalView/Core/LVLocation.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVRange.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVReader.cpp
llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
llvm/lib/DebugInfo/LogicalView/Core/LVSort.cpp
llvm/lib/DebugInfo/LogicalView/Core/LVSymbol.cpp
llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp [new file with mode: 0644]