Rename --elf-cg-profile to --cg-profile and keep --elf-cg-profile as an alias of --cg-profile.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
You can click Edit Related Revisions and assign a parent revision for a child revision.
Since --cg-profile is going to be the canonical option name, please rename --elf-cg-profile in tests. Keep one to demonstrate that it is an alias for --cg-profile.
Rename --elf-cg-profile to --cg-profile in tests and docs.
Keep --elf-cg-profile in test/tools/llvm-readobj/ELF/call-graph-profile.test for demonstration purpose.
Also, if you mention in the patch description (possibly also comments) "Depends on DXXXXX" it will automatically create the link.
Since --cg-profile is going to be the canonical option name, please rename --elf-cg-profile in tests. Keep one to demonstrate that it is an alias for --cg-profile.
I'd expect to see test\tools\llvm-readobj\ELF\call-graph-profile.test to be updated to use the new option, with two additional invocations using the old option (one each for llvm-readobj and llvm-readelf). Looks good apart from that.