summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-06-25 06:59:48 +0000
committerPavel Labath <pavel@labath.sk>2019-06-25 06:59:48 +0000
commitfcad3bc41541ef58d43accd1abdca8183af3f13e (patch)
treefd5d52b0f0b622438e30b526f9a2cf68229ee968 /clang/test
parente63ae7fee4c5d792f35f2eaebdc68cdd0af0faac (diff)
downloadbcm5719-llvm-fcad3bc41541ef58d43accd1abdca8183af3f13e.tar.gz
bcm5719-llvm-fcad3bc41541ef58d43accd1abdca8183af3f13e.zip
DWARF: Add support for type units+split dwarf combo
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
Diffstat (limited to 'clang/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud