diff options
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-profdata.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-profdata.rst b/llvm/docs/CommandGuide/llvm-profdata.rst index acb044e2bf1..4ebf88f0253 100644 --- a/llvm/docs/CommandGuide/llvm-profdata.rst +++ b/llvm/docs/CommandGuide/llvm-profdata.rst @@ -124,6 +124,14 @@ OPTIONS Use N threads to perform profile merging. When N=0, llvm-profdata auto-detects an appropriate number of threads to use. This is the default. +.. option:: -failure-mode=[any|all] + + Set the failure mode. There are two options: 'any' causes the merge command to + fail if any profiles are invalid, and 'all' causes the merge command to fail + only if all profiles are invalid. If 'all' is set, information from any + invalid profiles is excluded from the final merged product. The default + failure mode is 'any'. + EXAMPLES ^^^^^^^^ Basic Usage |