mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-07 00:23:43 +00:00
fcad3bc415
Summary: With the last round of refactors, supporting type units in dwo files becomes almost trivial. This patch contains a couple of small fixes, which taken as a whole make type units work in the split dwarf scenario (both DWARF4 and DWARF5): - DWARFContext: make sure we actually read the debug_types.dwo section - DWARFUnit: set string offsets base on all units in the dwo file, not just the main CU - ManualDWARFIndex: index all units in the file - SymbolFileDWARFDwo: Search for the single compile unit in the file, as we can no longer assume it will be the first one The last part makes it obvious that there is still some work to be done here, namely that we do not support dwo files with multiple compile units. That is something that should be easier after the DIERef refactors, but it still requires more work. Tests are added for the type units+split dwarf + dwarf4/5 scenarios, as well as a test that checks we behave reasonably in the presence of dwo files with multiple CUs. Reviewers: clayborg, JDevlieghere, aprantl Subscribers: arphaman, lldb-commits Differential Revision: https://reviews.llvm.org/D63643 llvm-svn: 364274 |
||
---|---|---|
.. | ||
Breakpoint | ||
BuildScript | ||
Commands | ||
Driver | ||
ExecControl/StopHook | ||
Expr | ||
Heap | ||
helper | ||
Minidump | ||
Modules | ||
Process | ||
Python | ||
Quit | ||
Register | ||
Reproducer | ||
Settings | ||
Suite | ||
SymbolFile | ||
tools | ||
Unit | ||
Unwind | ||
Watchpoint | ||
CMakeLists.txt | ||
lit-lldb-init.in | ||
lit.cfg.py | ||
lit.site.cfg.py.in |