-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[clang][modules] Print library module manifest path. #76451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
f3f0db6
24faf65
6c5fb46
a8f9dc9
506302e
4f5a734
c123766
7bfaf97
80ecb13
618b600
0eeea4a
1bbe7ab
0c0c6d9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Test that -print-library-module-manifest-path finds the correct file. | ||
mordante marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
// RUN: %clang -print-library-module-manifest-path \ | ||
mordante marked this conversation as resolved.
Show resolved
Hide resolved
|
||
// 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 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a path for libc++ like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure, I've never used --gcc-toolchain either. |
||
// RUN: %clang -print-library-module-manifest-path \ | ||
// RUN: -stdlib=libstdc++ \ | ||
// RUN: --sysroot=%S/Inputs/cxx23_modules \ | ||
// RUN: --target=x86_64-linux-gnu 2>&1 \ | ||
// RUN: | FileCheck --check-prefix=CHECK-LIBSTDCXX %s | ||
// CHECK-LIBSTDCXX: module: = |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Test that -print-library-module-manifest-path finds the correct file. | ||
mordante marked this conversation as resolved.
Show resolved
Hide resolved
|
||
// | ||
// Note this file is currently not available on Apple platforms | ||
|
||
// RUN: %clang -print-library-module-manifest-path \ | ||
// RUN: -resource-dir=%S/Inputs/resource_dir \ | ||
// RUN: --target=x86_64-unknown-linux-gnu 2>&1 \ | ||
// RUN: | FileCheck %s | ||
// CHECK: module: = |
Uh oh!
There was an error while loading. Please reload this page.