[all-commits] [llvm/llvm-project] e0ba9b: [DWARFLinkerParallel] Add interface files, create ...

avl-llvm via All-commits all-commits at lists.llvm.org
Sun Jun 4 04:06:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0ba9b2ace7ffc20bf8fe2eb533d638f27619b10
      https://github.com/llvm/llvm-project/commit/e0ba9b2ace7ffc20bf8fe2eb533d638f27619b10
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2023-06-04 (Sun, 04 Jun 2023)

  Changed paths:
    M llvm/include/llvm/DWARFLinker/DWARFLinker.h
    M llvm/include/llvm/DWARFLinker/DWARFStreamer.h
    A llvm/include/llvm/DWARFLinkerParallel/DWARFFile.h
    M llvm/include/llvm/DWARFLinkerParallel/DWARFLinker.h
    M llvm/include/llvm/DWARFLinkerParallel/StringTable.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/lib/DWARFLinker/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/DWARFStreamer.cpp
    M llvm/lib/DWARFLinkerParallel/CMakeLists.txt
    A llvm/lib/DWARFLinkerParallel/DWARFEmitterImpl.cpp
    A llvm/lib/DWARFLinkerParallel/DWARFEmitterImpl.h
    M llvm/lib/DWARFLinkerParallel/DWARFLinker.cpp
    A llvm/lib/DWARFLinkerParallel/DWARFLinkerCompileUnit.h
    A llvm/lib/DWARFLinkerParallel/DWARFLinkerImpl.cpp
    A llvm/lib/DWARFLinkerParallel/DWARFLinkerImpl.h
    A llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.h
    A llvm/lib/DWARFLinkerParallel/OutputSections.cpp
    A llvm/lib/DWARFLinkerParallel/OutputSections.h
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/basic-linking-x86.test
    A llvm/test/tools/llvm-dwarfutil/ELF/X86/DWARFLinkerParallel/gc-default.test
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/gc-default.test
    M llvm/tools/dsymutil/CMakeLists.txt
    M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
    M llvm/tools/dsymutil/DwarfLinkerForBinary.h
    M llvm/tools/dsymutil/LinkUtils.h
    M llvm/tools/dsymutil/Options.td
    M llvm/tools/dsymutil/dsymutil.cpp
    M llvm/tools/llvm-dwarfutil/CMakeLists.txt
    M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
    M llvm/tools/llvm-dwarfutil/Options.h
    M llvm/tools/llvm-dwarfutil/Options.td
    M llvm/tools/llvm-dwarfutil/llvm-dwarfutil.cpp

  Log Message:
  -----------
  [DWARFLinkerParallel] Add interface files, create a skeleton implementation.

This patch creates skeleton implementation for the DWARFLinkerParallel.
It also integrates DWARFLinkerParallel into dsymutil and llvm-dwarfutil,
so that empty DWARFLinker::link() can be called. To do this new command
line option is added "--linker apple/llvm". Additionally it changes
existing DWARFLinker interfaces/implementations to be compatible:
use Error for error reporting for the DWARFStreamer, make DWARFFile to
owner of referenced resources, other small refactorings.

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




More information about the All-commits mailing list