MaskRay added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/ZOS.cpp:22
+ : ToolChain(D, Triple, Args) {
+ for (Arg *A : Args.filtered(options::OPT_pg)) {
+ auto ArgString = A->getAsString(Args);
----------------
francii wrote:
> @MaskRay we still need `-pg` to error-out on z/OS. Should the check for this
> be moved to `clang/lib/Driver/ToolChains/Clang.cpp` instead?
Sounds reasonable to move `-pg` diagnostic beside `-p`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137756/new/
https://reviews.llvm.org/D137756
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits