summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-21 00:20:01 +0000
committerEric Christopher <echristo@gmail.com>2014-05-21 00:20:01 +0000
commite648d75c607378d55765103c2ac554a2964b6280 (patch)
tree82a1069a4038ba9f1023a95afe755589e2d64ce0 /tools
parent110260377ad3156467a107f6f7b2544ed3b2d173 (diff)
downloadllvm-e648d75c607378d55765103c2ac554a2964b6280.tar.gz
llvm-e648d75c607378d55765103c2ac554a2964b6280.tar.bz2
llvm-e648d75c607378d55765103c2ac554a2964b6280.tar.xz
This command line option is only used in one place. Move it there and
rename it to something more descriptive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-mc/llvm-mc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp
index e87f1eef28..02dcfcd2dd 100644
--- a/tools/llvm-mc/llvm-mc.cpp
+++ b/tools/llvm-mc/llvm-mc.cpp
@@ -156,6 +156,9 @@ static cl::opt<std::string>
MainFileName("main-file-name",
cl::desc("Specifies the name we should consider the input file"));
+static cl::opt<bool> SaveTempLabels("save-temp-labels",
+ cl::desc("Don't discard temporary labels"));
+
enum ActionType {
AC_AsLex,
AC_Assemble,