[all-commits] [llvm/llvm-project] ddf60b: [lldb/DWARF] Always construct a DWARFDebugInfo object
Pavel Labath via All-commits
all-commits at lists.llvm.org
Thu Feb 20 01:52:31 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ddf60ba09f2cf31851ea165c7c5fcfc4c2ad546e
https://github.com/llvm/llvm-project/commit/ddf60ba09f2cf31851ea165c7c5fcfc4c2ad546e
Author: Pavel Labath <pavel at labath.sk>
Date: 2020-02-20 (Thu, 20 Feb 2020)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
Log Message:
-----------
[lldb/DWARF] Always construct a DWARFDebugInfo object
Change the return value of SymbolFileDWARF::DebugInfo from a pointer to
a reference, and remove all null checks.
Previously, we were not constructing the DebugInfo object when the
debug_info section was empty. Now we always construct the object but
it will return an empty list of dwarf units (a thing which it already
supported).
More information about the All-commits
mailing list