[all-commits] [llvm/llvm-project] b61ac4: [DWARFLinkerParallel] Add support for -odr mode. (...

avl-llvm via All-commits all-commits at lists.llvm.org
Thu Nov 23 02:56:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b61ac4a88f934ab5c02ee2a4957fb1b9943e7a5d
      https://github.com/llvm/llvm-project/commit/b61ac4a88f934ab5c02ee2a4957fb1b9943e7a5d
  Author: avl-llvm <55248412+avl-llvm at users.noreply.github.com>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    A llvm/lib/DWARFLinkerParallel/AcceleratorRecordsSaver.cpp
    A llvm/lib/DWARFLinkerParallel/AcceleratorRecordsSaver.h
    M llvm/lib/DWARFLinkerParallel/ArrayList.h
    M llvm/lib/DWARFLinkerParallel/CMakeLists.txt
    M llvm/lib/DWARFLinkerParallel/DIEAttributeCloner.cpp
    M llvm/lib/DWARFLinkerParallel/DIEAttributeCloner.h
    M llvm/lib/DWARFLinkerParallel/DIEGenerator.h
    M llvm/lib/DWARFLinkerParallel/DWARFLinker.cpp
    M llvm/lib/DWARFLinkerParallel/DWARFLinkerCompileUnit.cpp
    M llvm/lib/DWARFLinkerParallel/DWARFLinkerCompileUnit.h
    M llvm/lib/DWARFLinkerParallel/DWARFLinkerGlobalData.h
    M llvm/lib/DWARFLinkerParallel/DWARFLinkerImpl.cpp
    M llvm/lib/DWARFLinkerParallel/DWARFLinkerImpl.h
    A llvm/lib/DWARFLinkerParallel/DWARFLinkerTypeUnit.cpp
    A llvm/lib/DWARFLinkerParallel/DWARFLinkerTypeUnit.h
    M llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.cpp
    M llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.h
    M llvm/lib/DWARFLinkerParallel/DebugLineSectionEmitter.h
    M llvm/lib/DWARFLinkerParallel/DependencyTracker.cpp
    M llvm/lib/DWARFLinkerParallel/DependencyTracker.h
    M llvm/lib/DWARFLinkerParallel/OutputSections.cpp
    M llvm/lib/DWARFLinkerParallel/OutputSections.h
    A llvm/lib/DWARFLinkerParallel/SyntheticTypeNameBuilder.cpp
    A llvm/lib/DWARFLinkerParallel/SyntheticTypeNameBuilder.h
    A llvm/lib/DWARFLinkerParallel/TypePool.h
    A llvm/lib/DWARFLinkerParallel/Utils.h
    A llvm/test/tools/dsymutil/ARM/DWARFLinkerParallel/accel-imported-declarations.test
    M llvm/test/tools/dsymutil/ARM/accel-imported-declarations.test
    M llvm/test/tools/dsymutil/ARM/dwarf5-addr-base.test
    M llvm/test/tools/dsymutil/ARM/dwarf5-dwarf4-combination-macho.test
    M llvm/test/tools/dsymutil/ARM/dwarf5-macho.test
    M llvm/test/tools/dsymutil/ARM/dwarf5-str-offsets-base-strx.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/dead-stripped.cpp
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/empty-CU.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/inlined-static-variable.cpp
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/keep-func.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-anon-namespace.cpp
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration2.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration3.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-member-functions.cpp
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-namespace-extension.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-nested-types1.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-nested-types2.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-parents.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-predictable-output.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-predictable-output2.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-recursive-dependence.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-template-parameters.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-two-units-in-single-file.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test
    A llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-uniquing.cpp
    A llvm/test/tools/dsymutil/X86/Inputs/String/foo1.o
    A llvm/test/tools/dsymutil/X86/Inputs/String/foo2.o
    A llvm/test/tools/dsymutil/X86/Inputs/String/foo3.o
    A llvm/test/tools/dsymutil/X86/Inputs/String/main.o
    M llvm/test/tools/dsymutil/X86/dead-stripped.cpp
    M llvm/test/tools/dsymutil/X86/dummy-debug-map.map
    M llvm/test/tools/dsymutil/X86/dwarf5-rnglists.test
    M llvm/test/tools/dsymutil/X86/empty-CU.test
    M llvm/test/tools/dsymutil/X86/inlined-static-variable.cpp
    M llvm/test/tools/dsymutil/X86/keep-func.test
    A llvm/test/tools/dsymutil/X86/linker-llvm-union-fwd-decl.test
    M llvm/test/tools/dsymutil/X86/location-expression.test
    M llvm/test/tools/dsymutil/X86/modules-empty.m
    M llvm/test/tools/dsymutil/X86/odr-uniquing.cpp
    M llvm/test/tools/dsymutil/X86/op-convert.test
    M llvm/test/tools/dsymutil/X86/union-fwd-decl.test
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-addresses.test
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-rnglists.test
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/gc-default.test
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/gc-func-overlapping-address-ranges.test
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/gc-maxpc.test
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/gc-no-garbage.test
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/gc-unit-overlapping-address-ranges.test
    M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp

  Log Message:
  -----------
  [DWARFLinkerParallel] Add support for -odr mode. (#68721)

This patch is extracted from D96035, it adds support for the type
deduplication mode. With this patch DWARFLinkerParallel handles --odr
option. It also processes clang modules.




More information about the All-commits mailing list