[PATCH] D134322: [llvm-libtool-darwin] Add support for -dependency_info
Keith Smiley via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 20 15:40:40 PDT 2022
keith created this revision.
Herald added a subscriber: mgrang.
Herald added a project: All.
keith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When using llvm-libtool-darwin as a drop in replacement for cctools
libtool, Xcode expects you to create a dependency info file. This file
is a very simple format describing the input files, the output files,
and the version of the tool. This logic is mirrored from that of
ld64.lld, which supports creating this file as well. Ideally we could
extract it, but I don't think we want to throw this into one of the
grab-bag libraries given how small the logic is.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134322
Files:
llvm/test/tools/llvm-libtool-darwin/Inputs/DependencyDump.py
llvm/test/tools/llvm-libtool-darwin/dependency-info.test
llvm/tools/llvm-libtool-darwin/DependencyInfo.h
llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134322.461731.patch
Type: text/x-patch
Size: 6861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220920/5f2876fc/attachment.bin>
More information about the llvm-commits
mailing list