aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/NVPTX
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-05-23 16:09:15 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-05-23 16:09:15 +0000
commit603100d3de4ba34bf5a7274acf7942083a1e2641 (patch)
tree9ae02ece980edcd821a13f993686d2a945eeebd0 /lib/Target/NVPTX
parenta32218a7eca458e55217f5a0674c23351a9472ac (diff)
downloadexternal_llvm-603100d3de4ba34bf5a7274acf7942083a1e2641.zip
external_llvm-603100d3de4ba34bf5a7274acf7942083a1e2641.tar.gz
external_llvm-603100d3de4ba34bf5a7274acf7942083a1e2641.tar.bz2
More symbols that should be static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/NVPTX')
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp b/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
index fa33a75..dfa1ff5 100644
--- a/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
+++ b/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
@@ -17,13 +17,11 @@
using namespace llvm;
-bool CompileForDebugging;
-
// -debug-compile - Command line option to inform opt and llc passes to
// compile for debugging
-static cl::opt<bool, true>
-Debug("debug-compile", cl::desc("Compile for debugging"), cl::Hidden,
- cl::location(CompileForDebugging), cl::init(false));
+static cl::opt<bool> CompileForDebugging("debug-compile",
+ cl::desc("Compile for debugging"),
+ cl::Hidden, cl::init(false));
void NVPTXMCAsmInfo::anchor() {}