[PATCH] D113534: [lld-macho] Avoid warning on -install-name if -dylib is not provided
Vincent Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 16 09:24:38 PST 2021
thevinster added a comment.
> but I'd probably also add a --warn-dylib-install-name to override the no form
Just so I understand here, you're suggesting to rename the current config to `--warn-dylib-install-name`? It doesn't make sense to have a `--warn-no` and a `--warn` because by default, the warning isn't enabled. The reason why I had the name `--warn-no-dylib-install-name` is to make it clear to readers that `install-name` can't used with other flags other than `-dylib` (hence the no...). I do think the name can be a bit confusing with the `--warn-no` structure, but the name, `--warn-dylib-install-name`, reads it as if the code should warn if `install-name` is used with `-dylib`. Perhaps, `--warn-install-name-no-dylib`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113534/new/
https://reviews.llvm.org/D113534
More information about the llvm-commits
mailing list