[llvm-debuginfo-analyzer] (07/09) - Compare elements
authorCarlos Alberto Enciso <carlos.alberto.enciso@gmail.com>
Mon, 24 Oct 2022 06:18:36 +0000 (07:18 +0100)
committerCarlos Alberto Enciso <carlos.alberto.enciso@gmail.com>
Mon, 24 Oct 2022 07:27:06 +0000 (08:27 +0100)
commite98a4c5acb378bdaae5f7aeb747bd27146f45191
treecbdb505d6fc40d67e727fdcf9272bc3cc638b4c6
parentb169643f3a1f71ee5c174385d0effac1e6c48693
[llvm-debuginfo-analyzer] (07/09) - Compare 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:

Compare elements
- Support for logical elements comparison. See '--compare' options.
  LVCompare

Reviewed By: psamolysov, probinson

Differential Revision: https://reviews.llvm.org/D125782
19 files changed:
llvm/include/llvm/DebugInfo/LogicalView/Core/LVCompare.h [new file with mode: 0644]
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
llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.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/LVCompare.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/LogicalView/Core/LVElement.cpp
llvm/lib/DebugInfo/LogicalView/Core/LVLine.cpp
llvm/lib/DebugInfo/LogicalView/Core/LVObject.cpp
llvm/lib/DebugInfo/LogicalView/Core/LVReader.cpp
llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
llvm/lib/DebugInfo/LogicalView/Core/LVSymbol.cpp
llvm/lib/DebugInfo/LogicalView/Core/LVType.cpp
llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
llvm/unittests/DebugInfo/LogicalView/CompareElementsTest.cpp [new file with mode: 0644]