[clang] [clang][modules] Print library module manifest path. (PR #76451)

Thorsten Schütt via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 28 05:33:13 PST 2023


================
@@ -2164,6 +2164,12 @@ bool Driver::HandleImmediateArgs(const Compilation &C) {
     return false;
   }
 
+  if (C.getArgs().hasArg(options::OPT_print_library_module_manifest_path)) {
+    llvm::outs() << "module: ="
----------------
tschuett wrote:

```shell
> clang --print-resource-dir
````
prints just a path without any prefix.

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


More information about the cfe-commits mailing list