]> granicus.if.org Git - llvm/commitdiff
[llvm-lto2] Fix typo spotted by Teresa (r294885 post-commit review).
authorDavide Italiano <davide@freebsd.org>
Mon, 13 Feb 2017 16:08:36 +0000 (16:08 +0000)
committerDavide Italiano <davide@freebsd.org>
Mon, 13 Feb 2017 16:08:36 +0000 (16:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294962 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-lto2/llvm-lto2.cpp

index ebe5def099d541a4f280d04dc89baa94a244c793..328c41dd36e7850de5375d29828e2aac214b05f7 100644 (file)
@@ -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;