[all-commits] [llvm/llvm-project] 77cfcd: DebugInfo: Use loclistx for DWARFv5 location lists...

David Blaikie via All-commits all-commits at lists.llvm.org
Fri Nov 15 18:51:20 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 77cfcd75092b57693d40123a013e59295634a945
      https://github.com/llvm/llvm-project/commit/77cfcd75092b57693d40123a013e59295634a945
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2019-11-15 (Fri, 15 Nov 2019)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/lib/CodeGen/AsmPrinter/DIE.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    M llvm/test/CodeGen/X86/debug-loclists.ll

  Log Message:
  -----------
  DebugInfo: Use loclistx for DWARFv5 location lists to reduce the number of relocations

This only implements the non-dwo part, but loclistx is necessary to use
location lists in DWARFv5, so it's a precursor to that work - and
generally reduces relocations (only using one reloc, then
indexes/relative offsets for all location list references) in non-split
DWARF.




More information about the All-commits mailing list