[all-commits] [llvm/llvm-project] 2357e8: [DWARFLinker][DWARFLinkerParallel][NFC] Refactor D...

avl-llvm via All-commits all-commits at lists.llvm.org
Tue Jan 9 00:32:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2357e899cb11e05312c54b689ebd0355487be6bc
      https://github.com/llvm/llvm-project/commit/2357e899cb11e05312c54b689ebd0355487be6bc
  Author: avl-llvm <55248412+avl-llvm at users.noreply.github.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M bolt/lib/Rewrite/CMakeLists.txt
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    A llvm/include/llvm/DWARFLinker/AddressesMap.h
    A llvm/include/llvm/DWARFLinker/Classic/DWARFLinker.h
    A llvm/include/llvm/DWARFLinker/Classic/DWARFLinkerCompileUnit.h
    A llvm/include/llvm/DWARFLinker/Classic/DWARFLinkerDeclContext.h
    A llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h
    A llvm/include/llvm/DWARFLinker/DWARFFile.h
    R llvm/include/llvm/DWARFLinker/DWARFLinker.h
    A llvm/include/llvm/DWARFLinker/DWARFLinkerBase.h
    R llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
    R llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
    R llvm/include/llvm/DWARFLinker/DWARFStreamer.h
    A llvm/include/llvm/DWARFLinker/Parallel/DWARFLinker.h
    A llvm/include/llvm/DWARFLinker/StringPool.h
    R llvm/include/llvm/DWARFLinkerParallel/AddressesMap.h
    R llvm/include/llvm/DWARFLinkerParallel/DWARFFile.h
    R llvm/include/llvm/DWARFLinkerParallel/DWARFLinker.h
    R llvm/include/llvm/DWARFLinkerParallel/StringPool.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/lib/CMakeLists.txt
    M llvm/lib/DWARFLinker/CMakeLists.txt
    A llvm/lib/DWARFLinker/Classic/CMakeLists.txt
    A llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    A llvm/lib/DWARFLinker/Classic/DWARFLinkerCompileUnit.cpp
    A llvm/lib/DWARFLinker/Classic/DWARFLinkerDeclContext.cpp
    A llvm/lib/DWARFLinker/Classic/DWARFStreamer.cpp
    R llvm/lib/DWARFLinker/DWARFLinker.cpp
    R llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
    R llvm/lib/DWARFLinker/DWARFLinkerDeclContext.cpp
    R llvm/lib/DWARFLinker/DWARFStreamer.cpp
    A llvm/lib/DWARFLinker/Parallel/AcceleratorRecordsSaver.cpp
    A llvm/lib/DWARFLinker/Parallel/AcceleratorRecordsSaver.h
    A llvm/lib/DWARFLinker/Parallel/ArrayList.h
    A llvm/lib/DWARFLinker/Parallel/CMakeLists.txt
    A llvm/lib/DWARFLinker/Parallel/DIEAttributeCloner.cpp
    A llvm/lib/DWARFLinker/Parallel/DIEAttributeCloner.h
    A llvm/lib/DWARFLinker/Parallel/DIEGenerator.h
    A llvm/lib/DWARFLinker/Parallel/DWARFEmitterImpl.cpp
    A llvm/lib/DWARFLinker/Parallel/DWARFEmitterImpl.h
    A llvm/lib/DWARFLinker/Parallel/DWARFLinker.cpp
    A llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
    A llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.h
    A llvm/lib/DWARFLinker/Parallel/DWARFLinkerGlobalData.h
    A llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
    A llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.h
    A llvm/lib/DWARFLinker/Parallel/DWARFLinkerTypeUnit.cpp
    A llvm/lib/DWARFLinker/Parallel/DWARFLinkerTypeUnit.h
    A llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.cpp
    A llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
    A llvm/lib/DWARFLinker/Parallel/DebugLineSectionEmitter.h
    A llvm/lib/DWARFLinker/Parallel/DependencyTracker.cpp
    A llvm/lib/DWARFLinker/Parallel/DependencyTracker.h
    A llvm/lib/DWARFLinker/Parallel/IndexedValuesMap.h
    A llvm/lib/DWARFLinker/Parallel/OutputSections.cpp
    A llvm/lib/DWARFLinker/Parallel/OutputSections.h
    A llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
    A llvm/lib/DWARFLinker/Parallel/SyntheticTypeNameBuilder.cpp
    A llvm/lib/DWARFLinker/Parallel/SyntheticTypeNameBuilder.h
    A llvm/lib/DWARFLinker/Parallel/TypePool.h
    A llvm/lib/DWARFLinker/Parallel/Utils.h
    A llvm/lib/DWARFLinker/Utils.cpp
    R llvm/lib/DWARFLinkerParallel/AcceleratorRecordsSaver.cpp
    R llvm/lib/DWARFLinkerParallel/AcceleratorRecordsSaver.h
    R llvm/lib/DWARFLinkerParallel/ArrayList.h
    R llvm/lib/DWARFLinkerParallel/CMakeLists.txt
    R llvm/lib/DWARFLinkerParallel/DIEAttributeCloner.cpp
    R llvm/lib/DWARFLinkerParallel/DIEAttributeCloner.h
    R llvm/lib/DWARFLinkerParallel/DIEGenerator.h
    R llvm/lib/DWARFLinkerParallel/DWARFEmitterImpl.cpp
    R llvm/lib/DWARFLinkerParallel/DWARFEmitterImpl.h
    R llvm/lib/DWARFLinkerParallel/DWARFFile.cpp
    R llvm/lib/DWARFLinkerParallel/DWARFLinker.cpp
    R llvm/lib/DWARFLinkerParallel/DWARFLinkerCompileUnit.cpp
    R llvm/lib/DWARFLinkerParallel/DWARFLinkerCompileUnit.h
    R llvm/lib/DWARFLinkerParallel/DWARFLinkerGlobalData.h
    R llvm/lib/DWARFLinkerParallel/DWARFLinkerImpl.cpp
    R llvm/lib/DWARFLinkerParallel/DWARFLinkerImpl.h
    R llvm/lib/DWARFLinkerParallel/DWARFLinkerTypeUnit.cpp
    R llvm/lib/DWARFLinkerParallel/DWARFLinkerTypeUnit.h
    R llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.cpp
    R llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.h
    R llvm/lib/DWARFLinkerParallel/DebugLineSectionEmitter.h
    R llvm/lib/DWARFLinkerParallel/DependencyTracker.cpp
    R llvm/lib/DWARFLinkerParallel/DependencyTracker.h
    R llvm/lib/DWARFLinkerParallel/IndexedValuesMap.h
    R llvm/lib/DWARFLinkerParallel/OutputSections.cpp
    R llvm/lib/DWARFLinkerParallel/OutputSections.h
    R llvm/lib/DWARFLinkerParallel/StringEntryToDwarfStringPoolEntryMap.h
    R llvm/lib/DWARFLinkerParallel/StringPool.cpp
    R llvm/lib/DWARFLinkerParallel/SyntheticTypeNameBuilder.cpp
    R llvm/lib/DWARFLinkerParallel/SyntheticTypeNameBuilder.h
    R llvm/lib/DWARFLinkerParallel/TypePool.h
    R llvm/lib/DWARFLinkerParallel/Utils.h
    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/dsymutil.cpp
    M llvm/tools/llvm-dwarfutil/CMakeLists.txt
    M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
    M llvm/unittests/DWARFLinkerParallel/StringPoolTest.cpp

  Log Message:
  -----------
  [DWARFLinker][DWARFLinkerParallel][NFC] Refactor DWARFLinker&DWARFLinkerParallel to have a common library. Part 1. (#75925)

This patch creates DWARFLinkerBase library, places DWARFLinker code into
DWARFLinker\Classic, places DWARFLinkerParallel into DWARFLinker\Parallel.
updates BOLT to use new library. This patch is NFC.




More information about the All-commits mailing list