File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -182,14 +182,7 @@ static cl::opt<bool> CtxprofMoveRootsToOwnModule(
182
182
" their own module." ),
183
183
cl::Hidden, cl::init(false ));
184
184
185
- cl::list<GlobalValue::GUID> MoveSymbolGUID (
186
- " thinlto-move-symbols" ,
187
- cl::desc (
188
- " Move the symbols with the given name. This will delete these symbols "
189
- " wherever they are originally defined, and make sure their "
190
- " linkage is External where they are imported. It is meant to be "
191
- " used with the name of contextual profiling roots." ),
192
- cl::Hidden);
185
+ extern cl::list<GlobalValue::GUID> MoveSymbolGUID;
193
186
194
187
namespace llvm {
195
188
extern cl::opt<bool > EnableMemProfContextDisambiguation;
Original file line number Diff line number Diff line change @@ -24,7 +24,14 @@ static cl::opt<bool> UseSourceFilenameForPromotedLocals(
24
24
" This requires that the source filename has a unique name / "
25
25
" path to avoid name collisions." ));
26
26
27
- extern cl::list<GlobalValue::GUID> MoveSymbolGUID;
27
+ cl::list<GlobalValue::GUID> MoveSymbolGUID (
28
+ " thinlto-move-symbols" ,
29
+ cl::desc (
30
+ " Move the symbols with the given name. This will delete these symbols "
31
+ " wherever they are originally defined, and make sure their "
32
+ " linkage is External where they are imported. It is meant to be "
33
+ " used with the name of contextual profiling roots." ),
34
+ cl::Hidden);
28
35
29
36
FunctionImportGlobalProcessing::FunctionImportGlobalProcessing (
30
37
Module &M, const ModuleSummaryIndex &Index,
You can’t perform that action at this time.
0 commit comments