[all-commits] [llvm/llvm-project] 4d5c9a: [lldb] Use LLVM's implementation of AppleTables fo...
Felipe de Azevedo Piovezan via All-commits
all-commits at lists.llvm.org
Wed Jun 28 05:31:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d5c9ad9c3d7ed84efa1307ec158829b95badc6f
https://github.com/llvm/llvm-project/commit/4d5c9ad9c3d7ed84efa1307ec158829b95badc6f
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2023-06-28 (Wed, 28 Jun 2023)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h
Log Message:
-----------
[lldb] Use LLVM's implementation of AppleTables for apple_{names,namespaces}
All the new code should match the behavior of the old exactly.
Of note, the custom queries used to be implemented inside `HashedNameToDIE.cpp`
(which is the LLDB implementation of the tables). However, when porting to LLVM,
we believe they don't belong inside the LLVM table implementation:
1. They don't require any knowledge about the table itself
2. They are not relevant for other users of these classes.
3. They use LLDB data structures.
As such, we implement these custom queries inside AppleDWARFIndex.cpp.
Types and Objective-C tables are done separately, as they have slightly
different functionality that require rewriting more code.
Differential Revision: https://reviews.llvm.org/D153866
More information about the All-commits
mailing list