[PATCH] D44297: [lld-link] For suppressible warnings, print the suppressing flag.
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 9 04:59:31 PST 2018
hans added inline comments.
================
Comment at: COFF/Driver.cpp:809
if (Config->WarnMissingOrderSymbol)
- warn("/order:" + Arg + ": missing symbol: " + S);
+ warn("/order:" + Arg + ": missing symbol: " + S + " [no /ignore:4037]");
}
----------------
Would it be helpful to make warn() take an optional warning number and tweak the message accordingly?
"no /ignore:1234" is a bit terse for my taste. How about "suppress with /ignore:1234" or "pass /ignore:1234 to suppress" or something similar?
https://reviews.llvm.org/D44297
More information about the llvm-commits
mailing list