PGO: llvm-profdata: tool for merging profiles
[oota-llvm.git] / docs / CommandGuide / llvm-profdata.rst
1 llvm-profdata - work with profile data
2 ======================================
3
4 SYNOPSIS
5 --------
6
7 :program:`llvm-profdata` [-output=output] file1 file2
8
9 DESCRIPTION
10 -----------
11
12 The experimental :program:`llvm-profdata` tool reads two profile data files
13 generated by PGO instrumentation and generates a file with merged data.
14
15 The profile data format itself is currently textual.
16
17 OPTIONS
18 -------
19
20 .. option:: -output=output
21
22  This option selects the output filename.  If not specified, output is to
23  stdout.
24
25 EXIT STATUS
26 -----------
27
28 :program:`llvm-profdata` returns 1 if it cannot read input files or there is a
29 mismatch between their data.