[lld] [lld] Use --no-warnings flag to suppress --noinhibit-exec warnings (PR #138056)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu May 1 01:01:58 PDT 2025
smithp35 wrote:
The title says `[lld] Use --no-warnings flag to suppress --noinhibit-exec warnings` but looking at the code and the description I think it should say `[lld] Use --no-warnings flag to suppress --noinhibit-exec errors`
I'd expect the `--no-warnings` to already suppress warnings that lld produces when `--noinhibit-exec` is used.
Personally, rather than overload `--no-warnings` to mean `-no-errors` but only when `--noinhibit-exec` is used I'd prefer to be explicit and add something like a `--noinhibit-exec-errors` option (really ought to be --no-noinhibit-exec-errors, but that it truly awful).
It will also be worth adding a test.
https://github.com/llvm/llvm-project/pull/138056
More information about the llvm-commits
mailing list