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

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 17:35:15 PST 2018


tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.


================
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>;
----------------
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.


Repository:
  rC Clang

https://reviews.llvm.org/D42921





More information about the cfe-commits mailing list