[llvm] r294962 - [llvm-lto2] Fix typo spotted by Teresa (r294885 post-commit review).

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 08:08:36 PST 2017


Author: davide
Date: Mon Feb 13 10:08:36 2017
New Revision: 294962

URL: http://llvm.org/viewvc/llvm-project?rev=294962&view=rev
Log:
[llvm-lto2] Fix typo spotted by Teresa (r294885 post-commit review).

Modified:
    llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp

Modified: llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp?rev=294962&r1=294961&r2=294962&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp (original)
+++ llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp Mon Feb 13 10:08:36 2017
@@ -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;




More information about the llvm-commits mailing list