[all-commits] [llvm/llvm-project] 7fbcc2: [llvm-debuginfo-analyzer] (08a/09) - Memory Manage...
Carlos Alberto Enciso via All-commits
all-commits at lists.llvm.org
Thu Feb 16 02:32:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7fbcc24409efdb37cec79ad461ef383f6ffc5ef2
https://github.com/llvm/llvm-project/commit/7fbcc24409efdb37cec79ad461ef383f6ffc5ef2
Author: Carlos Alberto Enciso <carlos.alberto.enciso at gmail.com>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVSymbol.h
M llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h
M llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h
M llvm/lib/DebugInfo/LogicalView/Core/LVLocation.cpp
M llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
M llvm/lib/DebugInfo/LogicalView/Core/LVSymbol.cpp
M llvm/lib/DebugInfo/LogicalView/Core/LVType.cpp
M llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
M llvm/unittests/DebugInfo/LogicalView/CompareElementsTest.cpp
M llvm/unittests/DebugInfo/LogicalView/ELFReaderTest.cpp
M llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp
M llvm/unittests/DebugInfo/LogicalView/LogicalElementsTest.cpp
M llvm/unittests/DebugInfo/LogicalView/SelectElementsTest.cpp
M llvm/unittests/DebugInfo/LogicalView/WarningInternalTest.cpp
Log Message:
-----------
[llvm-debuginfo-analyzer] (08a/09) - Memory Management
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
8a) Memory Management
9) CodeView Reader
Full details:
https://discourse.llvm.org/t/llvm-dev-rfc-llvm-dva-debug-information-visual-analyzer/62570
This patch:
This is a high level summary of the changes in this patch.
Memory Management
- Use Bump allocators for memory management.
As the logical elements are only allocated in one pass (debuginfo
parsing) and they are never manipulated/created/destroyed later,
use the SpecificBumpPtrAllocator for the memory management.
Reviewed By: dblaikie, Orlando
Differential Revision: https://reviews.llvm.org/D137933
More information about the All-commits
mailing list