[all-commits] [llvm/llvm-project] 96f95c: [dsymutil] Avoid copying binary swiftmodules built...

Adrian Prantl via All-commits all-commits at lists.llvm.org
Tue Apr 8 12:38:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96f95c9d89d8a1784d3865fa941fb1c510f4e2d7
      https://github.com/llvm/llvm-project/commit/96f95c9d89d8a1784d3865fa941fb1c510f4e2d7
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    A llvm/test/tools/dsymutil/ARM/swiftmodule.test
    A llvm/test/tools/dsymutil/Inputs/Binary.swiftmodule
    A llvm/test/tools/dsymutil/Inputs/FromInterface.swiftmodule
    M llvm/test/tools/dsymutil/yaml-object-address-rewrite.test
    M llvm/tools/dsymutil/CMakeLists.txt
    M llvm/tools/dsymutil/DebugMap.cpp
    M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
    M llvm/tools/dsymutil/RelocationMap.h
    A llvm/tools/dsymutil/SwiftModule.cpp
    A llvm/tools/dsymutil/SwiftModule.h

  Log Message:
  -----------
  [dsymutil] Avoid copying binary swiftmodules built from textual

.swiftinterface files into the dSYM bundle. These typically come only
from the SDK (since textual interfaces require library evolution) and
thus are a waste of space to copy into the bundle.

The information about this is being parsed out of the control block,
which means duplicating 5 constants from the Swift frontend. If a file
cannot be parsed, dsymutil errs on the side of copying the file
anyway.

rdar://138186524

Relanding with additional linker dependency and moving the test into
the right target subdirectory.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list