[Lldb-commits] [PATCH] D63322: DWARF: Avoid storing DIERefs in long-lived containers
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 14 13:13:09 PDT 2019
aprantl added inline comments.
================
Comment at: source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:2970
if (die) {
TypeSystem *type_system =
----------------
If you find the time:
```
if (!die)
return {};
auto *type_system = GetTypeSystemForLanguage(die.GetCU()->GetLanguageType());
if (!type_system)
return {};
DWARFASTParser *dwarf_ast = type_system->GetDWARFParser();
if (!dwarf_ast)
return {};
```
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63322/new/
https://reviews.llvm.org/D63322
More information about the lldb-commits
mailing list