[all-commits] [llvm/llvm-project] e7b8ba: [lldb] [DWARF-5] Be lazier about loading .dwo files
EricSL via All-commits
all-commits at lists.llvm.org
Fri Jul 30 04:35:17 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e7b8ba103a8411fb25237727c3822d4c431e4814
https://github.com/llvm/llvm-project/commit/e7b8ba103a8411fb25237727c3822d4c431e4814
Author: Eric Leese <leese at google.com>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M lldb/include/lldb/Symbol/CompileUnit.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Symbol/CompileUnit.cpp
A lldb/test/Shell/SymbolFile/DWARF/dwarf5-lazy-dwo.c
M lldb/test/Shell/SymbolFile/DWARF/lit.local.cfg
A lldb/test/Shell/SymbolFile/DWARF/split-optimized.c
M lldb/test/Shell/SymbolFile/DWARF/x86/dwp.s
Log Message:
-----------
[lldb] [DWARF-5] Be lazier about loading .dwo files
This change makes sure that DwarfUnit does not load a .dwo file until
necessary. I also take advantage of DWARF 5's guarantee that the first
support file is also the primary file to make it possible to create
a compile unit without loading the .dwo file.
Review By: jankratochvil, dblaikie
Differential Revision: https://reviews.llvm.org/D100299
More information about the All-commits
mailing list