[clang] [clang][modules] Print library module manifest path. (PR #76451)
Chuanqi Xu via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 27 18:16:20 PST 2023
================
@@ -0,0 +1,15 @@
+// Test that -print-library-module-manifest-path finds the correct file.
+
+// RUN: %clang -print-library-module-manifest-path \
+// RUN: -stdlib=libc++ \
+// RUN: --sysroot=%S/Inputs/cxx23_modules \
+// RUN: --target=x86_64-linux-gnu 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-LIBCXX %s
+// CHECK-LIBCXX: module: ={{.*}}/Inputs/cxx23_modules/usr/lib/x86_64-linux-gnu/modules.json
+
----------------
ChuanqiXu9 wrote:
Is there a path for libc++ like `--gcc-toolchain=` so that we can choose the different locations for libstdc++?
https://github.com/llvm/llvm-project/pull/76451
More information about the cfe-commits
mailing list