[all-commits] [llvm/llvm-project] 1cf11a: [Dsymutil][Debuginfo][NFC] Reland: Refactor dsymut...

avl-llvm via All-commits all-commits at lists.llvm.org
Wed Jan 8 03:15:36 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cf11a4c67a15ab5493ef424c898accf49012caa
      https://github.com/llvm/llvm-project/commit/1cf11a4c67a15ab5493ef424c898accf49012caa
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/NonRelocatableStringpool.h
    A llvm/include/llvm/DWARFLinker/DWARFLinker.h
    A llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
    A llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
    M llvm/lib/CMakeLists.txt
    M llvm/lib/CodeGen/NonRelocatableStringpool.cpp
    A llvm/lib/DWARFLinker/CMakeLists.txt
    A llvm/lib/DWARFLinker/DWARFLinker.cpp
    A llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
    A llvm/lib/DWARFLinker/DWARFLinkerDeclContext.cpp
    A llvm/lib/DWARFLinker/LLVMBuild.txt
    M llvm/lib/LLVMBuild.txt
    M llvm/tools/dsymutil/CMakeLists.txt
    R llvm/tools/dsymutil/CompileUnit.cpp
    R llvm/tools/dsymutil/CompileUnit.h
    R llvm/tools/dsymutil/DeclContext.cpp
    R llvm/tools/dsymutil/DeclContext.h
    R llvm/tools/dsymutil/DwarfLinker.cpp
    R llvm/tools/dsymutil/DwarfLinker.h
    A llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
    A llvm/tools/dsymutil/DwarfLinkerForBinary.h
    M llvm/tools/dsymutil/DwarfStreamer.cpp
    M llvm/tools/dsymutil/DwarfStreamer.h
    M llvm/tools/dsymutil/LLVMBuild.txt

  Log Message:
  -----------
  [Dsymutil][Debuginfo][NFC] Reland: Refactor dsymutil to separate DWARF optimizing part. #2.

Summary:
This patch relands D71271. The problem with D71271 is that it has cyclic dependency:
CodeGen->AsmPrinter->DebugInfoDWARF->CodeGen. To avoid cyclic dependency this patch
puts implementation for DWARFOptimizer into separate library: lib/DWARFLinker.

Thus the difference between this patch and D71271 is in that DWARFOptimizer renamed into
DWARFLinker and it`s files are put into lib/DWARFLinker.

Reviewers: JDevlieghere, friss, dblaikie, aprantl

Reviewed By: JDevlieghere

Subscribers: thegameg, merge_guards_bot, probinson, mgorny, hiraditya, llvm-commits

Tags: #llvm, #debug-info

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




More information about the All-commits mailing list