[PATCH] D42921: [CUDA] Add option to generate relocatable device code

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 12 02:44:57 PST 2018


Hahnfeld added inline comments.


================
Comment at: include/clang/Driver/Options.td:572
+  HelpText<"Generate relocatable device code, also known as separate compilation mode.">;
+def fno_cuda_rdc : Flag<["-"], "fno-cuda-rdc">;
 def dA : Flag<["-"], "dA">, Group<d_Group>;
----------------
tra wrote:
> Does the options show up in clang --help? 
> If it does, and if you plan to commit patches one at a time, we may want to make it hidden until everything is in place.
Good idea, I'll submit a patch enabling the help text and adding release notes after full support has landed.


https://reviews.llvm.org/D42921





More information about the cfe-commits mailing list