summaryrefslogtreecommitdiff
path: root/tools/llvm-lto2
diff options
context:
space:
mode:
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;