FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [DebugInfo] Fix reading addresses in DWARFDebugAddr. (details)
  2. [DebugInfo] Do not dump header field for pre-DWARFv5 address tables. (details)
  3. [DebugInfo] Use "an address table" in diagnostic messages of DWARFDebugAddr. (details)
  4. [DebugInfo] Refine error messages in DWARFDebugAddr. (details)
  5. [DebugInfo] Simplify DWARFDebugAddr. (details)
  6. [DebugInfo] Add support for DWARF64 into DWARFDebugAddr. (details)
Commit 5d58eb9f4f71292d9c67517d8cb0eb05e9fe82a3 by ikudrin
[DebugInfo] Fix reading addresses in DWARFDebugAddr.

As addresses in the address tables may have relocations, thus,
the relocations should be resolved to read the correct address.
That is especially important for targets that use RELA relocations
because in that case addends are stored in relocation sections.

Differential Revision: https://reviews.llvm.org/D74404
The file was addedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_rela.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
Commit 675c4bebaffc0c6b28ac85602b278677c07e03e5 by ikudrin
[DebugInfo] Do not dump header field for pre-DWARFv5 address tables.

As there is no header in pre-DWARFv5 address tables, and we fill
the class data members with some artificial values, we should not
dump them as that might be misleading.

Differential Revision: https://reviews.llvm.org/D74195
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_dwarf4.s
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
Commit 292b67f99310d10229e14dc0ece18855e22d11cc by ikudrin
[DebugInfo] Use "an address table" in diagnostic messages of DWARFDebugAddr.

This replaces a collocation "a .debug_addr table" with "an address table"
because the latter sounds more accurate.

Differential Revision: https://reviews.llvm.org/D74407
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_version_mismatch.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_address_size_mismatch.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_small_length_field.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_section.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_length_field.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_address_size_not_multiple.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_segment_selector.s
Commit de9604232a7c9e346faadf3708b61431bb441c1b by ikudrin
[DebugInfo] Refine error messages in DWARFDebugAddr.

As a preparation for the subsequent patches, this updates the wordings
of some error messages in DWARFDebugAddr.

Differential Revision: https://reviews.llvm.org/D74196
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_unsupported_version.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_invalid_addr_size.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_section.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_small_length_field.s
Commit dc1661239358efb8144a179d6706d7faec7fec2f by ikudrin
[DebugInfo] Simplify DWARFDebugAddr.

The patch removes unnecessary members of DWARFDebugAddr and further
simplifies the implementation by separating parsing methods of tables
in the DWARFv5 and pre-standard formats.

Differential Revision: https://reviews.llvm.org/D74197
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_unsupported_version.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_address_size_not_multiple.s
The file was removedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_version_mismatch.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h
Commit 07e50c7b9161e32c43e095aed586614bf8b02c71 by ikudrin
[DebugInfo] Add support for DWARF64 into DWARFDebugAddr.

Differential Revision: https://reviews.llvm.org/D74198
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
The file was addedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_reserved_length.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_dwarf64.s
The file was addedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_extended_length_field.s