[all-commits] [llvm/llvm-project] 22cb36: [dsymutil] Avoid copying swiftinterfaces from the ...

adrian-prantl via All-commits all-commits at lists.llvm.org
Wed Feb 26 12:22:57 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 22cb36c86b80fb9148fb08b1d384cd84bb9548d5
      https://github.com/llvm/llvm-project/commit/22cb36c86b80fb9148fb08b1d384cd84bb9548d5
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2020-02-26 (Wed, 26 Feb 2020)

  Changed paths:
    M llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
    M llvm/lib/DWARFLinker/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
    R llvm/test/tools/dsymutil/Inputs/swift-interface.ll
    A llvm/test/tools/dsymutil/Inputs/swift-interface.s
    M llvm/test/tools/dsymutil/X86/swift-interface.test

  Log Message:
  -----------
  [dsymutil] Avoid copying swiftinterfaces from the SDK into the dsym bundle

This patch fixes a bug that would cause dsymutil to collect
.swiftinterface files for the Swift stdlib and other SDK
modules. There is no advantage in copying these since they should be
loaded from the ones bundled with LLDB's embedded Swift compiler
instead and copying them will cause LLDB to recompile them from source
instead of loading their prebuilt cached counterparts in the SDK.

rdar://problem/57463247

Differential Revisions: https://reviews.llvm.org/D75196




More information about the All-commits mailing list