[clang] [flang] [Flang][Driver] Add -print-resource-dir command line flag to emit Flang's resource directory (PR #90886)

Michael Klemm via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 00:42:01 PDT 2024


================
@@ -5474,7 +5474,7 @@ def print_prog_name_EQ : Joined<["-", "--"], "print-prog-name=">,
   Visibility<[ClangOption, CLOption]>;
 def print_resource_dir : Flag<["-", "--"], "print-resource-dir">,
   HelpText<"Print the resource directory pathname">,
-  Visibility<[ClangOption, CLOption]>;
+  Visibility<[ClangOption, CLOption, FlangOption]>;
----------------
mjklemm wrote:

Do you suggest that the help message needs to be more verbose for Flang?  Clang and Classic Flang use the same message.  If it should be more verbose, how about this:

*Print the resource directory pathname where Flang stores the 'lib' and 'include' folder*

https://github.com/llvm/llvm-project/pull/90886


More information about the cfe-commits mailing list