Skip to content

[clang][cas] Pass through LLVM_CAS_LOG env var to the depscan daemon #10360

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

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

benlangmuir
Copy link

Ensure that the scanning daemon modifications to the CAS are captured properly by the log.

@benlangmuir
Copy link
Author

@swift-ci please test llvm


// CHECK: [[PID2:[0-9]*]] {{[0-9]*}}: mmap '{{.*}}v8.index'
// Even a minimal compilation involves at least 9 records for the cache key.
// CHECK: [[PID2]] {{[0-9]*}}: create record

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can use CHECK-COUNT-9: for 9 matches? {{[[:space:]].*}} to match newline if you care about capture both cmpxcgh and create.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I didn't know about that feature.

Ensure that the scanning daemon modifications to the CAS are captured
properly by the log.
@benlangmuir
Copy link
Author

@swift-ci please test llvm

@benlangmuir benlangmuir merged commit f17ee9a into swiftlang:next Mar 27, 2025
0 of 2 checks passed
@benlangmuir benlangmuir deleted the clang-depscan-log branch March 27, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants