[llvm-commits] CVS: llvm/tools/llvmc/llvmc.cpp
Reid Spencer
reid at x10sys.com
Wed Oct 27 20:56:27 PDT 2004
Changes in directory llvm/tools/llvmc:
llvmc.cpp updated: 1.16 -> 1.17
---
Log message:
Eliminate the -F option (for forcing output) .. not needed
Create GCC compatible -Wx, aliases for the existing -T options.
---
Diffs of the changes: (+10 -6)
Index: llvm/tools/llvmc/llvmc.cpp
diff -u llvm/tools/llvmc/llvmc.cpp:1.16 llvm/tools/llvmc/llvmc.cpp:1.17
--- llvm/tools/llvmc/llvmc.cpp:1.16 Mon Sep 13 20:58:45 2004
+++ llvm/tools/llvmc/llvmc.cpp Wed Oct 27 22:56:16 2004
@@ -74,6 +74,9 @@
cl::desc("Pass specific options to the pre-processor"),
cl::value_desc("option"));
+cl::alias PreprocessorToolOptsAlias("Wp,", cl::ZeroOrMore,
+ cl::desc("Alias for -Tpre"), cl::aliasopt(PreprocessorToolOpts));
+
cl::list<std::string> TranslatorToolOpts("Ttrn", cl::ZeroOrMore,
cl::desc("Pass specific options to the assembler"),
cl::value_desc("option"));
@@ -82,6 +85,9 @@
cl::desc("Pass specific options to the assembler"),
cl::value_desc("option"));
+cl::alias AssemblerToolOptsAlias("Wa,", cl::ZeroOrMore,
+ cl::desc("Alias for -Tasm"), cl::aliasopt(AssemblerToolOpts));
+
cl::list<std::string> OptimizerToolOpts("Topt", cl::ZeroOrMore,
cl::desc("Pass specific options to the optimizer"),
cl::value_desc("option"));
@@ -90,6 +96,9 @@
cl::desc("Pass specific options to the linker"),
cl::value_desc("option"));
+cl::alias LinkerToolOptsAlias("Wl,", cl::ZeroOrMore,
+ cl::desc("Alias for -Tlnk"), cl::aliasopt(LinkerToolOpts));
+
cl::list<std::string> fOpts("f", cl::ZeroOrMore, cl::Prefix,
cl::desc("Pass through -f options to compiler tools"),
cl::value_desc("optimization option"));
@@ -120,7 +129,6 @@
cl::desc("Specify a symbol to define for source configuration"),
cl::value_desc("symbol definition"));
-
//===------------------------------------------------------------------------===
//=== OUTPUT OPTIONS
//===------------------------------------------------------------------------===
@@ -128,12 +136,9 @@
cl::opt<std::string> OutputFilename("o",
cl::desc("Override output filename"), cl::value_desc("filename"));
-cl::opt<bool> ForceOutput("F", cl::Optional, cl::init(false),
- cl::desc("Force output files to be overridden"));
-
cl::opt<std::string> OutputMachine("m", cl::Prefix,
cl::desc("Specify a target machine"), cl::value_desc("machine"));
-
+
cl::opt<bool> Native("native", cl::init(false),
cl::desc("Generative native object and executables instead of bytecode"));
@@ -268,7 +273,6 @@
if (Verbose) flags |= CompilerDriver::VERBOSE_FLAG;
if (Debug) flags |= CompilerDriver::DEBUG_FLAG;
if (DryRun) flags |= CompilerDriver::DRY_RUN_FLAG;
- if (ForceOutput) flags |= CompilerDriver::FORCE_FLAG;
if (Native) flags |= CompilerDriver::EMIT_NATIVE_FLAG;
if (EmitRawCode) flags |= CompilerDriver::EMIT_RAW_FLAG;
if (KeepTemps) flags |= CompilerDriver::KEEP_TEMPS_FLAG;
More information about the llvm-commits
mailing list