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

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Wed Jan 11 15:08:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fc79340234f3acd354c52bd8bf2cf44f38fc4be
      https://github.com/llvm/llvm-project/commit/7fc79340234f3acd354c52bd8bf2cf44f38fc4be
  Author: Alexander Yermolovich <ayermolo at fb.com>
  Date:   2023-01-11 (Wed, 11 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