[PATCH] D75196: [dsymutil] Avoid copying swiftinterfaces from the SDK into the dsym bundle
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 10:13:38 PST 2020
aprantl created this revision.
aprantl added reviewers: friss, JDevlieghere.
Herald added a subscriber: hiraditya.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75196
Files:
llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
llvm/lib/DWARFLinker/DWARFLinker.cpp
llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
llvm/test/tools/dsymutil/Inputs/swift-interface.ll
llvm/test/tools/dsymutil/Inputs/swift-interface.s
llvm/test/tools/dsymutil/X86/swift-interface.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75196.246780.patch
Type: text/x-patch
Size: 15886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200226/502989a5/attachment.bin>
More information about the llvm-commits
mailing list