[all-commits] [llvm/llvm-project] 8dfd6c: [lldb] [DWARF-5] Be lazier about loading .dwo files
EricSL via All-commits
all-commits at lists.llvm.org
Fri Jul 30 14:17:25 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8dfd6cae9bd62ae5ef056b994ece2e98f1558830
https://github.com/llvm/llvm-project/commit/8dfd6cae9bd62ae5ef056b994ece2e98f1558830
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