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.7
@cachemeifyoucan cachemeifyoucan changed the title [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (#114104) [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS Nov 5, 2025

class F<string name> : Flag<["--", "-"], name>;

def grp_action : OptionGroup<"Actions">, HelpText<"llvm-cas actions">;
Copy link
Member

Choose a reason for hiding this comment

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

Have you considered using subcommands for actions? The subcommand support was introduced in #155026.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I am aware. But we ship this tool already. I would like to prevent breaking current command-line interface if possible.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to migrate them over the course of a release or two?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Maybe. I would like to do it incrementally since we need to teach build system about the new command before we can break the old one.

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.

4 participants