[Lldb-commits] [PATCH] D62178: DWARF: Don't compute address ranges for type units

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue May 21 08:44:38 PDT 2019


JDevlieghere accepted this revision.
JDevlieghere added a comment.

LGTM with a few small nits, even though I know you just moved the code.



================
Comment at: source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp:77
+          m_dwarf->GetDebugMapSymfile();
+      if (debug_map_sym_file == NULL) {
+        LineTable *line_table = sc.comp_unit->GetLineTable();
----------------
nullptr


================
Comment at: source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp:80
+
+        if (line_table) {
+          LineTable::FileAddressRanges file_ranges;
----------------
`if (LineTable* line_table  = )`


================
Comment at: source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp:105
+
+      if (line_table) {
+        LineTable::FileAddressRanges file_ranges;
----------------
Same here


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62178/new/

https://reviews.llvm.org/D62178





More information about the lldb-commits mailing list