summaryrefslogtreecommitdiff
path: root/tools/llvm-lto2
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-02-13 16:08:36 +0000
committerDavide Italiano <davide@freebsd.org>2017-02-13 16:08:36 +0000
commit3a0219a6778f959d874545ba068d1da3821f223f (patch)
treef66ce59aa7b136387df15910c7ad902f972aaa5c /tools/llvm-lto2
parent8bedc3d6814cb4bb74aa51713830c56f6ea37747 (diff)
[llvm-lto2] Fix typo spotted by Teresa (r294885 post-commit review).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-lto2')
-rw-r--r--tools/llvm-lto2/llvm-lto2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-lto2/llvm-lto2.cpp b/tools/llvm-lto2/llvm-lto2.cpp
index ebe5def099d..328c41dd36e 100644
--- a/tools/llvm-lto2/llvm-lto2.cpp
+++ b/tools/llvm-lto2/llvm-lto2.cpp
@@ -94,7 +94,7 @@ static cl::opt<std::string>
OptRemarksOutput("pass-remarks-output",
cl::desc("YAML output file for optimization remarks"));
-static cl::opt<bool> OptRemarksWithsHotness(
+static cl::opt<bool> OptRemarksWithHotness(
"pass-remarks-with-hotness",
cl::desc("Whether to include hotness informations in the remarks.\n"
"Has effect only if -pass-remarks-output is specified."));
@@ -187,7 +187,7 @@ int main(int argc, char **argv) {
// Optimization remarks.
Conf.RemarksFilename = OptRemarksOutput;
- Conf.RemarksWithHotness = OptRemarksWithsHotness;
+ Conf.RemarksWithHotness = OptRemarksWithHotness;
// Run a custom pipeline, if asked for.
Conf.OptPipeline = OptPipeline;