Conversation
The same entrypoint supports the following commands: * ar * ranlib * dlltool * lib For now, our strategy is to bundle the (renamed) `main()` function of llvm-ar, same as our strategy for `zig clang`. However, as Zig matures, a goal will be to replace the dependency on LLVM with our own implementation of this tool, so that it is available in builds of zig that do not have LLVM extensions enabled. This commit also categorizes the subcommands into categories in the --help menu.
Contributor
|
could you add |
Member
Great idea but I’d suggest adding it in a separate PR? |
Member
Author
|
Please file a separate issue for |
In this file is copy+pasted WindowsSupport.h from LLVM 12.0.1-rc1. This is so that we can patch it. The upstream sources are incorrectly including "llvm/Config/config.h" which is a private header and thus not available in the include files distributed with LLVM. The patch here changes it to include "llvm/Config/config.h" instead. Patch submitted upstream: https://reviews.llvm.org/D103370
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The same entrypoint supports the following commands:
For now, our strategy is to bundle the (renamed)
main()function ofllvm-ar, same as our strategy for
zig clang. However, as Zig matures,a goal will be to replace the dependency on LLVM with our own
implementation of this tool, so that it is available in builds of zig
that do not have LLVM extensions enabled.
This commit also categorizes the subcommands into categories in the
--help menu.
Closes #7915