[llvm] [docs] Add missing command line options to llvm-profgen.rst (PR #192890)
Kartik Ohlan via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 19 20:56:13 PDT 2026
https://github.com/Ko496-glitch created https://github.com/llvm/llvm-project/pull/192890
Resolves #192867
This PR fix some of the undocumented options that are visible in llvm-profgen --help and --help-hidden
>From 5f82440c86202b1116aa850c9bc7d02acdb8f448 Mon Sep 17 00:00:00 2001
From: Kartik Ohlan <kartik7ohlan at gmail.com>
Date: Sun, 19 Apr 2026 23:47:47 -0400
Subject: [PATCH] Added some undocumented options
---
llvm/docs/CommandGuide/llvm-profgen.rst | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/llvm/docs/CommandGuide/llvm-profgen.rst b/llvm/docs/CommandGuide/llvm-profgen.rst
index e515612983894..0622564bc7e2a 100644
--- a/llvm/docs/CommandGuide/llvm-profgen.rst
+++ b/llvm/docs/CommandGuide/llvm-profgen.rst
@@ -54,3 +54,17 @@ OPTIONS
Specify whether to print assembly code in AT&T syntax (the default) or Intel
syntax.
+
+.. option:: --debug-binary=<debug-binary>
+
+ Path of debug info binary. ``llvm-profgen`` will load the DWARF info from
+ it instead of the executable binary.
+
+.. option:: --pid
+
+ Process Id for the profiled executable binary.
+
+.. option:: --output=<output>
+
+ Path of the output profile file.
+
More information about the llvm-commits
mailing list