[all-commits] [llvm/llvm-project] 0d8cb8: DWARFVerifier: Verify CU/TU index overlap issues

David Blaikie via All-commits all-commits at lists.llvm.org
Thu May 5 11:19:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d8cb8b399adcd17e8bf17be7814d030308c8b82
      https://github.com/llvm/llvm-project/commit/0d8cb8b399adcd17e8bf17be7814d030308c8b82
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2022-05-05 (Thu, 05 May 2022)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    A llvm/test/DebugInfo/X86/debug-cu-index-overlap.s

  Log Message:
  -----------
  DWARFVerifier: Verify CU/TU index overlap issues

Discovered in a large object that would need a 64 bit index (but the
cu/tu index format doesn't include a 64 bit offset/length mode in
DWARF64 - a spec bug) but instead binutils dwp overflowed the offsets
causing overlapping regions.




More information about the All-commits mailing list