File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 4343#include " llvm/ProfileData/InstrProfCorrelator.h"
4444#include " llvm/Support/BuryPointer.h"
4545#include " llvm/Support/CommandLine.h"
46+ #include " llvm/Support/Compiler.h"
4647#include " llvm/Support/MemoryBuffer.h"
4748#include " llvm/Support/PrettyStackTrace.h"
4849#include " llvm/Support/Program.h"
@@ -96,8 +97,6 @@ using namespace llvm;
9697#include " llvm/Support/Extension.def"
9798
9899namespace llvm {
99- extern cl::opt<bool > PrintPipelinePasses;
100-
101100// Experiment to move sanitizers earlier.
102101static cl::opt<bool > ClSanitizeOnOptimizerEarlyEP (
103102 " sanitizer-early-opt-ep" , cl::Optional,
@@ -118,7 +117,8 @@ static cl::opt<PGOOptions::ColdFuncOpt> ClPGOColdFuncAttr(
118117 clEnumValN(PGOOptions::ColdFuncOpt::OptNone, " optnone" ,
119118 " Mark cold functions with optnone." )));
120119
121- extern cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate;
120+ LLVM_ABI extern cl::opt<InstrProfCorrelator::ProfCorrelatorKind>
121+ ProfileCorrelate;
122122} // namespace llvm
123123namespace clang {
124124extern llvm::cl::opt<bool > ClSanitizeGuardChecks;
Original file line number Diff line number Diff line change 7474#include < memory>
7575#include < system_error>
7676
77- namespace llvm {
78- extern cl::opt<bool > PrintPipelinePasses;
79- } // namespace llvm
80-
8177using namespace Fortran ::frontend;
8278
8379constexpr llvm::StringLiteral timingIdParse = " Parse" ;
Original file line number Diff line number Diff line change @@ -108,8 +108,6 @@ using namespace llvm;
108108using namespace sampleprof ;
109109
110110namespace llvm {
111- extern cl::opt<int > ProfileSummaryCutoffHot;
112- extern cl::opt<bool > UseContextLessSummary;
113111
114112namespace sampleprof {
115113
You can’t perform that action at this time.
0 commit comments