llvm-project/lldb/unittests/SymbolFile
Raphael Isemann 77440d644b [lldb][NFC] Allow range-based for loops over DWARFDIE's children
This patch adds the ability to get a DWARFDIE's children as an LLVM range.

This way we can use for range loops to iterate over them and we can use LLVM's
algorithms like `llvm::all_of` to query all children.

The implementation has to do some small shenanigans as the iterator needs to
store a DWARFDIE, but a DWARFDIE container is also a DWARFDIE so it can't return
the iterator by value. I just made the `children` getter a templated function to
avoid the cyclic dependency.

Reviewed By: #lldb, werat, JDevlieghere

Differential Revision: https://reviews.llvm.org/D103172
2021-07-22 15:03:30 +02:00
..
DWARF [lldb][NFC] Allow range-based for loops over DWARFDIE's children 2021-07-22 15:03:30 +02:00
NativePDB fix lldb for recent libDebugInfoDWARF API change 2020-10-23 19:20:38 -07:00
PDB [lldb/Symbol] Fix typo in SymbolFilePDBTests (NFC) 2021-05-05 00:38:41 +00:00
CMakeLists.txt [PDB] Fix location retrieval for function local variables and arguments that are 2019-02-01 10:01:18 +00:00