[Lldb-commits] [PATCH] D99653: [nfc] [lldb] 1/2: Fix DW_AT_ranges DW_FORM_sec_offset not using DW_AT_rnglists_base (used by GCC)
Jan Kratochvil via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 1 07:43:21 PDT 2021
jankratochvil marked an inline comment as done.
jankratochvil added inline comments.
================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp:498-500
+llvm::Optional<llvm::DWARFDebugRnglistTable> DWARFUnit::GetRnglist() {
+ return m_rnglist_table;
+}
----------------
clayborg wrote:
> Return "const llvm::Optional<llvm::DWARFDebugRnglistTable> &" to avoid making a copy.
That was horrible, thanks for catching it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99653/new/
https://reviews.llvm.org/D99653
More information about the lldb-commits
mailing list