1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Make option variables static, so they won't cause nameclash

llvm-svn: 55203
This commit is contained in:
Anton Korobeynikov 2008-08-22 21:27:49 +00:00
parent 60e176391d
commit 8e795209d3

View File

@ -18,13 +18,16 @@
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
using namespace llvm; using namespace llvm;
cl::opt<bool> NotABICall("disable-mips-abicall", cl::Hidden, static cl::opt<bool>
cl::desc("Disable code for SVR4-style dynamic objects")); NotABICall("disable-mips-abicall", cl::Hidden,
cl::opt<bool> AbsoluteCall("enable-mips-absolute-call", cl::Hidden, cl::desc("Disable code for SVR4-style dynamic objects"));
cl::desc("Enable absolute call within abicall")); static cl::opt<bool>
cl::opt<unsigned> SSThreshold("mips-ssection-threshold", cl::Hidden, AbsoluteCall("enable-mips-absolute-call", cl::Hidden,
cl::desc("Small data and bss section threshold size (default=8)"), cl::desc("Enable absolute call within abicall"));
cl::init(8)); static cl::opt<unsigned>
SSThreshold("mips-ssection-threshold", cl::Hidden,
cl::desc("Small data and bss section threshold size (default=8)"),
cl::init(8));
MipsSubtarget::MipsSubtarget(const TargetMachine &TM, const Module &M, MipsSubtarget::MipsSubtarget(const TargetMachine &TM, const Module &M,
const std::string &FS, bool little) : const std::string &FS, bool little) :