Skip to content

Conversation

@cachemeifyoucan
Copy link
Collaborator

Add a command-line tool llvm-cas to inspect the OnDisk CAS for
debugging purpose. It can be used to lookup/update ObjectStore or
put/get cache entries from ActionCache, together with other debugging
capabilities.

Created using spr 1.3.5
@github-actions
Copy link

github-actions bot commented Oct 29, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

Created using spr 1.3.7
Created using spr 1.3.7
@github-actions
Copy link

github-actions bot commented Nov 3, 2025

✅ With the latest revision this PR passed the Python code formatter.

Created using spr 1.3.7
Copy link
Contributor

@ilovepi ilovepi left a comment

Choose a reason for hiding this comment

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

Largely I think this is in pretty good shape. If we're fine w/ the cl::opt structures vs. OptTable, then I think this is probably fine to land. I have a memory that we've been trying to migrate new tools to use OptTable over cl::opt structures for a few reasons, including the multicall binary support, which @petrhosek or @Prabhuk should be able to answer.

@petrhosek
Copy link
Member

Largely I think this is in pretty good shape. If we're fine w/ the cl::opt structures vs. OptTable, then I think this is probably fine to land. I have a memory that we've been trying to migrate new tools to use OptTable over cl::opt structures for a few reasons, including the multicall binary support, which @petrhosek or @Prabhuk should be able to answer.

We're migrating all existing LLVM tools to OptTable and so ideally we would avoid introducing new tools that use cl::opt if possible, but if it's easier to land this PR as is and switch to OptTable in a follow up PR, that would be fine as well.

Created using spr 1.3.7
@cachemeifyoucan cachemeifyoucan merged commit 6d8a967 into users/cachemeifyoucan/spr/main.cas-add-llvm-cas-tools-to-inspect-on-disk-llvmcas-2 Nov 4, 2025
17 of 18 checks passed
@cachemeifyoucan cachemeifyoucan deleted the users/cachemeifyoucan/spr/cas-add-llvm-cas-tools-to-inspect-on-disk-llvmcas-2 branch November 4, 2025 23:09
@cachemeifyoucan
Copy link
Collaborator Author

Oops, I accidentally merge this but didn't realize the merge base is wrong. Reopen: #166481

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.

5 participants