diff options
author | Yi Kong <yikong@google.com> | 2020-01-20 20:52:12 +0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2020-01-20 20:57:03 +0800 |
commit | 01bfb366acf3650b91a80b922f2fc7b6e660f686 (patch) | |
tree | d2216df2464326a621e9bfbe3c0e7d5778c4d657 /llvm/tools/llvm-profdata/llvm-profdata.cpp | |
parent | 8b2eb7c494b296deb1792eed75bb56024bbf1e2b (diff) | |
download | llvm-01bfb366acf3650b91a80b922f2fc7b6e660f686.zip llvm-01bfb366acf3650b91a80b922f2fc7b6e660f686.tar.gz llvm-01bfb366acf3650b91a80b922f2fc7b6e660f686.tar.bz2 |
[llvm-profdata] Fix hint message since argument format has changed
"-sample" option is now changed to "--sample".
Diffstat (limited to 'llvm/tools/llvm-profdata/llvm-profdata.cpp')
-rw-r--r-- | llvm/tools/llvm-profdata/llvm-profdata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-profdata/llvm-profdata.cpp b/llvm/tools/llvm-profdata/llvm-profdata.cpp index 41e9abb..d98934b 100644 --- a/llvm/tools/llvm-profdata/llvm-profdata.cpp +++ b/llvm/tools/llvm-profdata/llvm-profdata.cpp @@ -70,8 +70,8 @@ static void exitWithError(Error E, StringRef Whence = "") { instrprof_error instrError = IPE.get(); StringRef Hint = ""; if (instrError == instrprof_error::unrecognized_format) { - // Hint for common error of forgetting -sample for sample profiles. - Hint = "Perhaps you forgot to use the -sample option?"; + // Hint for common error of forgetting --sample for sample profiles. + Hint = "Perhaps you forgot to use the --sample option?"; } exitWithError(IPE.message(), Whence, Hint); }); |