Add help support for -mcpu and -mattr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2005-09-02 19:27:43 +00:00
parent 6621e3b963
commit 839615a510
5 changed files with 65 additions and 27 deletions
+3 -3
View File
@@ -26,15 +26,15 @@ MArch("march", cl::desc("Architecture to generate assembly for:"));
static cl::opt<std::string>
MCPU("mcpu",
cl::desc("Target a specific cpu type"),
cl::desc("Target a specific cpu type (-mcpu=help for list of choices)"),
cl::value_desc("cpu-name"),
cl::init(""));
static cl::list<std::string>
MAttrs("mattr",
cl::CommaSeparated,
cl::desc("Target specific attributes:"),
cl::value_desc("attributes"));
cl::desc("Target specific attributes (-mattr=help for list of choices)"),
cl::value_desc("attr1,+attr2, ..., -attrN"));
/// create - Create an return a new JIT compiler if there is one available
/// for the current target. Otherwise, return null.