Skip to content

Commit 07d7b7c

Browse files
committed
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.4 [skip ci]
1 parent fbe55b4 commit 07d7b7c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

bolt/lib/Rewrite/RewriteInstance.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,7 @@ static cl::opt<cl::boolOrDefault> RelocationMode(
199199
"relocs", cl::desc("use relocations in the binary (default=autodetect)"),
200200
cl::cat(BoltCategory));
201201

202-
cl::opt<std::string> SaveProfile("w",
203-
cl::desc("save recorded profile to a file"),
204-
cl::cat(BoltOutputCategory));
202+
extern cl::opt<std::string> SaveProfile;
205203

206204
static cl::list<std::string>
207205
SkipFunctionNames("skip-funcs",

bolt/lib/Utils/CommandLineOpts.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ cl::opt<ProfileFormatKind> ProfileFormat(
163163
clEnumValN(PF_YAML, "yaml", "dense YAML representation")),
164164
cl::ZeroOrMore, cl::Hidden, cl::cat(BoltCategory));
165165

166+
cl::opt<std::string> SaveProfile("w",
167+
cl::desc("save recorded profile to a file"),
168+
cl::cat(BoltOutputCategory));
169+
166170
cl::opt<bool> SplitEH("split-eh", cl::desc("split C++ exception handling code"),
167171
cl::Hidden, cl::cat(BoltOptCategory));
168172

0 commit comments

Comments
 (0)