Skip to content

Commit 72c3bfb

Browse files
committed
Fix doc
1 parent c72d01c commit 72c3bfb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/docs/UsersManual.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2861,7 +2861,9 @@ usual build cycle when using sample profilers for optimization:
28612861
that executes faster than the original one. Note that you are not
28622862
required to build the code with the exact same arguments that you
28632863
used in the first step. The only requirement is that you build the code
2864-
with the same debug info options and ``-fprofile-sample-use``.
2864+
with the same debug info options and ``-fprofile-sample-use``. ``-gdwarf``
2865+
and ``-gline-tables-only`` can be omitted if you do not need debug info
2866+
in the final binary.
28652867

28662868
On Linux:
28672869

0 commit comments

Comments
 (0)