summaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/LTO/SummaryBasedOptimizations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/llvm/lib/LTO/SummaryBasedOptimizations.cpp')
-rw-r--r--contrib/llvm-project/llvm/lib/LTO/SummaryBasedOptimizations.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/LTO/SummaryBasedOptimizations.cpp b/contrib/llvm-project/llvm/lib/LTO/SummaryBasedOptimizations.cpp
index e919fd530fb0..d4dbefb231e8 100644
--- a/contrib/llvm-project/llvm/lib/LTO/SummaryBasedOptimizations.cpp
+++ b/contrib/llvm-project/llvm/lib/LTO/SummaryBasedOptimizations.cpp
@@ -15,10 +15,11 @@
#include "llvm/LTO/SummaryBasedOptimizations.h"
#include "llvm/Analysis/SyntheticCountsUtils.h"
#include "llvm/IR/ModuleSummaryIndex.h"
+#include "llvm/Support/CommandLine.h"
using namespace llvm;
-cl::opt<bool> ThinLTOSynthesizeEntryCounts(
+static cl::opt<bool> ThinLTOSynthesizeEntryCounts(
"thinlto-synthesize-entry-counts", cl::init(false), cl::Hidden,
cl::desc("Synthesize entry counts based on the summary"));