- Some cleanup and minor fixes for the new debug information re-writer before moving on to productatization.
- The new rewriter wasn't handling binary with DWARF5 and DWARF4 with -fdebug-types-sections.
- Removed dead cross cu reference code.
- Added support for DW_AT_sibling.
- With the new re-writer abbrev number can change which can lead to offset of Type Units changing. Before we would just copy raw data. Changed to write out Type Unit List. This is generated by gdb-add-index.
- Fixed how bolt handles gdb-index generated by gdb-11 with types sections. Simplified logic that handles variations of gdb-index.
- Clang can generate two type units with the same hash, but different content. LLD does not de-duplicate when ThinLTO is involved. Changed so that TU hash and offset are used to make TU's unique.
- It is possible to have references within location expression to another DIE. Fixed it so that relative offset is updated correctly.
- Removed all the code related to patching.
- Removed dead code. Changed how we handling writting out TUs and TU Index. It now should fully work for DWARF4 and DWARF5.
- Removed unused arguments from some APIs, changed return type to void, and other small cleanups.
Depends on D130315
Update the path.