summaryrefslogtreecommitdiff
path: root/docs/CommandGuide/llvm-profdata.rst
blob: 6b8e4d7ed5b16db27a786dc6a547008aa28dc780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
llvm-profdata - work with profile data
======================================

SYNOPSIS
--------

:program:`llvm-profdata` [-output=output] file1 file2

DESCRIPTION
-----------

The experimental :program:`llvm-profdata` tool reads two profile data files
generated by PGO instrumentation and generates a file with merged data.

The profile data format itself is currently textual.

OPTIONS
-------

.. option:: -output=output

 This option selects the output filename.  If not specified, output is to
 stdout.

EXIT STATUS
-----------

:program:`llvm-profdata` returns 1 if it cannot read input files or there is a
mismatch between their data.