llvm / llvm/llvm-project

[BOLT] Useful options of `llvm-bolt-binary-analysis` are hidden from its `--help-hidden` output (but they do work)

Open
#176,969 2 comments 0 reactions 0 assignees View on GitHub
BOLT
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

As [discussed in PR 115330](https://github.com/llvm/llvm-project/pull/115330#discussion_r1874392304), there is a number of BOLT command line options (printed by `llvm-bolt --help-hidden`) that are relevant for the "read-only" analyses performed by `llvm-bolt-binary-analysis`, but are not listed in its help message.

Even though these options are not printed by `llvm-bolt-binary-analysis --help-hidden`, they do work as expected. On the other hand, not all options which relevant to the main "read-write" mode of BOLT are relevant for analyses, thus simply enabling **all** categories of BOLT options has its drawbacks as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.