[PATCH] D49148: [DEBUGINFO] Disable unsupported debug info options for NVPTX target.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 18 06:54:35 PDT 2018
ABataev added a comment.
In https://reviews.llvm.org/D49148#1165826, @echristo wrote:
> I think you should break it out on an option by option basis. Just warning on "non-standard" options won't make as much sense to end users. Perhaps a "this option is unsupported on the target you're compiling for" etc.
>
> Thoughts?
1. I can split it, no problems.
2. Hmm, actually this what the warning already says. If the option is not supported it says 'debug option '-xxx' is not supported for target 'xxx-xxx-xxx''. It does not seem to me like a warning on non-standard option.
Repository:
rC Clang
https://reviews.llvm.org/D49148
More information about the cfe-commits
mailing list