summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-profdata.rst
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-09-13 20:22:02 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-09-13 20:22:02 +0000
commit3164fcfd273b37931e30a631f525d52ac2897fc0 (patch)
treed479607972de427c95f835c932659126e37ab436 /llvm/docs/CommandGuide/llvm-profdata.rst
parent2ce2652716aa1314d23b70895c67c6043842d7bd (diff)
downloadbcm5719-llvm-3164fcfd273b37931e30a631f525d52ac2897fc0.tar.gz
bcm5719-llvm-3164fcfd273b37931e30a631f525d52ac2897fc0.zip
Add flag to llvm-profdata to allow symbols in profile data to be remapped, and
add a tool to generate symbol remapping files. Summary: The new tool llvm-cxxmap builds a symbol mapping table from a file containing a description of partial equivalences to apply to mangled names and files containing old and new symbol tables. Reviewers: davidxl Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D51470 llvm-svn: 342168
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-profdata.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-profdata.rst10
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.
OpenPOWER on IntegriCloud