[llvm-profdata] Make -debug-info visible

Add the option comment in .rst.

Reviewed By: ellis

Differential Revision: https://reviews.llvm.org/D116348
This commit is contained in:
Kyungwoo Lee 2021-12-28 17:31:36 -08:00
parent de92a13fec
commit 4ecf15b789
2 changed files with 8 additions and 1 deletions

View File

@ -185,6 +185,13 @@ OPTIONS
inlined by PGO early inliner and it will not be adjusted based on sample
profile.
.. option:: -debug-info=path
Specify the executable or `.dSYM` that contains debug info for the raw profile.
When `-debug-info-correlate` was used for instrumentation, use this option
to correlate the raw profile.
EXAMPLES
^^^^^^^^
Basic Usage

View File

@ -968,7 +968,7 @@ static int merge_main(int argc, const char *argv[]) {
"gen-cs-nested-profile", cl::Hidden, cl::init(false),
cl::desc("Generate nested function profiles for CSSPGO"));
cl::opt<std::string> DebugInfoFilename(
"debug-info", cl::init(""), cl::Hidden,
"debug-info", cl::init(""),
cl::desc("Use the provided debug info to correlate the raw profile."));
cl::ParseCommandLineOptions(argc, argv, "LLVM profile data merger\n");