[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 21:43:15 PDT 2026
https://github.com/Ko496-glitch updated https://github.com/llvm/llvm-project/pull/192890
>From d8c484b312e1b9c1f520e5f6388a62207a5cc12d 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 --unsymbolized, --perfdata etc
---
llvm/docs/CommandGuide/llvm-profgen.rst | 28 +++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/llvm/docs/CommandGuide/llvm-profgen.rst b/llvm/docs/CommandGuide/llvm-profgen.rst
index e515612983894..a83ee641ac5e4 100644
--- a/llvm/docs/CommandGuide/llvm-profgen.rst
+++ b/llvm/docs/CommandGuide/llvm-profgen.rst
@@ -31,6 +31,20 @@ At least one of the following commands are required:
.. option:: --output=<string>
Path of the output profile file.
+
+.. option:: --perfdata=<perfdata>, --pd
+
+ Path of raw perf data created by Linux perf tool (it should be profiled
+ with -b).
+
+.. option:: --llvm-sample-profile=<llvm sample profile>
+
+ Path of the LLVM sample profile.
+
+.. option:: --unsymbolized-profile=<unsymbolized profile>, --up
+
+ Path of the unsymbolized profile created by ``llvm-profgen`` with
+ ``--skip-symbolization``.
OPTIONS
-------
@@ -54,3 +68,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