aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2020-02-20 10:36:11 +0100
committerPavel Labath <pavel@labath.sk>2020-02-20 10:51:40 +0100
commitddf60ba09f2cf31851ea165c7c5fcfc4c2ad546e (patch)
tree075a0cd0ee81eb22e5ab09be20c2b2f0b9dfe788 /llvm/lib/CodeGen/LiveDebugValues.cpp
parent14d7b802db4fd0c8124b0a58ad405fb52f44956d (diff)
downloadllvm-ddf60ba09f2cf31851ea165c7c5fcfc4c2ad546e.zip
llvm-ddf60ba09f2cf31851ea165c7c5fcfc4c2ad546e.tar.gz
llvm-ddf60ba09f2cf31851ea165c7c5fcfc4c2ad546e.tar.bz2
[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).
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions