[PATCH] D116348: [llvm-profdata] Make -debug-info visible

Kyungwoo Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 28 17:34:06 PST 2021


kyulee updated this revision to Diff 396446.
kyulee added a comment.

Update the comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116348/new/

https://reviews.llvm.org/D116348

Files:
  llvm/docs/CommandGuide/llvm-profdata.rst
  llvm/tools/llvm-profdata/llvm-profdata.cpp


Index: llvm/tools/llvm-profdata/llvm-profdata.cpp
===================================================================
--- llvm/tools/llvm-profdata/llvm-profdata.cpp
+++ llvm/tools/llvm-profdata/llvm-profdata.cpp
@@ -968,7 +968,7 @@
       "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");
Index: llvm/docs/CommandGuide/llvm-profdata.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-profdata.rst
+++ llvm/docs/CommandGuide/llvm-profdata.rst
@@ -185,6 +185,13 @@
  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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116348.396446.patch
Type: text/x-patch
Size: 1214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211229/69dad0c3/attachment.bin>


More information about the llvm-commits mailing list