[all-commits] [llvm/llvm-project] fa3fa4: [llvm][dwwarf] Change CU/TU index to 64-bit

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Tue Jan 10 10:35:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa3fa4d0d42326005dfd5887bf047b86904d3be6
      https://github.com/llvm/llvm-project/commit/fa3fa4d0d42326005dfd5887bf047b86904d3be6
  Author: Alexander Yermolovich <ayermolo at fb.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M bolt/lib/Core/DebugData.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
    M llvm/lib/DWP/DWP.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    M llvm/test/DebugInfo/X86/debug-cu-index-unknown-section.s
    M llvm/test/DebugInfo/X86/dwp-v2-cu-index.s
    M llvm/test/DebugInfo/X86/dwp-v2-tu-index.s
    M llvm/test/DebugInfo/X86/dwp-v5-cu-index.s
    M llvm/test/DebugInfo/X86/dwp-v5-tu-index.s
    M llvm/test/DebugInfo/dwarfdump-dwp.test
    M llvm/test/tools/llvm-dwp/X86/debug_macro_v5.s
    M llvm/test/tools/llvm-dwp/X86/info-v5.s
    M llvm/test/tools/llvm-dwp/X86/loclists.s
    M llvm/test/tools/llvm-dwp/X86/merge.test
    M llvm/test/tools/llvm-dwp/X86/rnglists.s
    M llvm/test/tools/llvm-dwp/X86/simple.test
    M llvm/test/tools/llvm-dwp/X86/tu_units_v5.s
    M llvm/test/tools/llvm-dwp/X86/unknown-section-id.s

  Log Message:
  -----------
  [llvm][dwwarf] Change CU/TU index to 64-bit

Changed contribution data structure to 64 bit. I added the 32bit and 64bit
accessors to make it explicit where we use 32bit and where we use 64bit. Also to
make sure sure we catch all the cases where this data structure is used.

Reviewed By: dblaikie

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




More information about the All-commits mailing list