-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[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 3 commits
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 \ | ||
// 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: {{.*}}/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. Let's try to avoid use |
||
|
||
// RUN: %clang -print-library-module-manifest-path \ | ||
// RUN: -stdlib=libstdc++ \ | ||
// RUN: --sysroot=%S/Inputs/cxx23_modules \ | ||
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. Does 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. No this is a left-over when it used on-disc files. Nice catch. |
||
// RUN: --target=x86_64-linux-gnu 2>&1 \ | ||
// RUN: | FileCheck --check-prefix=CHECK-LIBSTDCXX %s | ||
// CHECK-LIBSTDCXX: <NOT PRESENT> |
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. | ||
// | ||
// Note this file is currently not available on Apple platforms | ||
mordante marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
// 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: <NOT PRESENT> |
Uh oh!
There was an error while loading. Please reload this page.