[all-commits] [llvm/llvm-project] 9ff4be: [DWARFLinker][NFC] Decrease DWARFLinker dependence...

Alexey Lapshin via All-commits all-commits at lists.llvm.org
Fri Jan 19 05:57:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ff4be640fb1b3a64a8bc73020d67816f1c09ea0
      https://github.com/llvm/llvm-project/commit/9ff4be640fb1b3a64a8bc73020d67816f1c09ea0
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M llvm/include/llvm/DWARFLinker/Classic/DWARFLinker.h
    M llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h
    M llvm/include/llvm/DWARFLinker/DWARFLinkerBase.h
    M llvm/include/llvm/DWARFLinker/Parallel/DWARFLinker.h
    M llvm/lib/DWARFLinker/CMakeLists.txt
    M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/Classic/DWARFStreamer.cpp
    A llvm/lib/DWARFLinker/DWARFLinkerBase.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFEmitterImpl.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFEmitterImpl.h
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.h
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerGlobalData.h
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.h
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerTypeUnit.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerTypeUnit.h
    M llvm/lib/DWARFLinker/Parallel/OutputSections.cpp
    M llvm/lib/DWARFLinker/Parallel/OutputSections.h
    M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
    M llvm/tools/dsymutil/DwarfLinkerForBinary.h
    M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp

  Log Message:
  -----------
  [DWARFLinker][NFC] Decrease DWARFLinker dependence on DwarfStreamer. (#77932)

This patch is extracted from #74725.

The DwarfStreamer interface looks overcomplicated and has unnecessary
dependencies. This patch avoids creation of DwarfStreamer by DWARFLinker and
simplifies interface.




More information about the All-commits mailing list