diff options
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-profdata.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-profdata.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-profdata.rst b/llvm/docs/CommandGuide/llvm-profdata.rst index 5b6330b5dc4..96c91e309d7 100644 --- a/llvm/docs/CommandGuide/llvm-profdata.rst +++ b/llvm/docs/CommandGuide/llvm-profdata.rst @@ -74,6 +74,16 @@ OPTIONS file are newline-separated. Lines starting with '#' are skipped. Entries may be of the form <filename> or <weight>,<filename>. +.. option:: -remapping-file=path, -r=path + + Specify a file which contains a remapping from symbol names in the input + profile to the symbol names that should be used in the output profile. The + file should consist of lines of the form ``<input-symbol> <output-symbol>``. + Blank lines and lines starting with ``#`` are skipped. + + The :doc:`llvm-cxxmap <llvm-cxxmap>` tool can be used to generate the symbol + remapping file. + .. option:: -instr (default) Specify that the input profile is an instrumentation-based profile. |