HomePhabricator

Permit cross-CU references

Description

Permit cross-CU references

So far dw_offset_t was global for the whole SymbolFileDWARF but with
.debug_types the same dw_offset_t may mean two different things depending on
its section (=CU). So references now return whole new referenced DWARFDIE
instead of just dw_offset_t.

This means that some functions have to now handle 16 bytes instead of 8 bytes
but I do not see that anywhere performance critical.

Differential Revision: https://reviews.llvm.org/D61502

Details

Committed
jankratochvilMay 15 2019, 12:22 PM
Differential Revision
D61502: Permit cross-CU references
Parents
rL360794: [lld] Remove 2>&1 from --trace-symbol tests
Branches
Unknown
Tags
Unknown