[PATCH] D23050: CommandFlags.h/llc: Move StopAfter/StartBefore options to llc.
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 2 16:43:54 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL277551: CommandFlags.h/llc: Move StopAfter/StartBefore options to llc. (authored by matze).
Changed prior to commit:
https://reviews.llvm.org/D23050?vs=66426&id=66597#toc
Repository:
rL LLVM
https://reviews.llvm.org/D23050
Files:
llvm/trunk/include/llvm/CodeGen/CommandFlags.h
llvm/trunk/tools/llc/llc.cpp
Index: llvm/trunk/tools/llc/llc.cpp
===================================================================
--- llvm/trunk/tools/llc/llc.cpp
+++ llvm/trunk/tools/llc/llc.cpp
@@ -118,6 +118,14 @@
cl::desc("Discard names from Value (other than GlobalValue)."),
cl::init(false), cl::Hidden);
+static cl::opt<std::string> StopAfter("stop-after",
+ cl::desc("Stop compilation after a specific pass"),
+ cl::value_desc("pass-name"), cl::init(""));
+
+static cl::opt<std::string> StartAfter("start-after",
+ cl::desc("Resume compilation after a specific pass"),
+ cl::value_desc("pass-name"), cl::init(""));
+
namespace {
static ManagedStatic<std::vector<std::string>> RunPassNames;
Index: llvm/trunk/include/llvm/CodeGen/CommandFlags.h
===================================================================
--- llvm/trunk/include/llvm/CodeGen/CommandFlags.h
+++ llvm/trunk/include/llvm/CodeGen/CommandFlags.h
@@ -221,15 +221,6 @@
cl::desc("Use .ctors instead of .init_array."),
cl::init(false));
-cl::opt<std::string> StopAfter("stop-after",
- cl::desc("Stop compilation after a specific pass"),
- cl::value_desc("pass-name"),
- cl::init(""));
-cl::opt<std::string> StartAfter("start-after",
- cl::desc("Resume compilation after a specific pass"),
- cl::value_desc("pass-name"),
- cl::init(""));
-
cl::opt<bool> DataSections("data-sections",
cl::desc("Emit data into separate sections"),
cl::init(false));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23050.66597.patch
Type: text/x-patch
Size: 1674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160802/69f5fce7/attachment.bin>
More information about the llvm-commits
mailing list