diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-11-07 06:33:58 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-11-07 06:33:58 +0000 |
commit | 6533afe349013821c76f244015cdfb5f189b2aa6 (patch) | |
tree | 8f51d6e44f6cedf247dee3f1f7268e3c7146689b /lib/CompilerDriver/BuiltinOptions.cpp | |
parent | c11e84d3e7a432449d453b51b567f2fc5db4e8c0 (diff) | |
download | external_llvm-6533afe349013821c76f244015cdfb5f189b2aa6.zip external_llvm-6533afe349013821c76f244015cdfb5f189b2aa6.tar.gz external_llvm-6533afe349013821c76f244015cdfb5f189b2aa6.tar.bz2 |
llvmc: Add a '-time' option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver/BuiltinOptions.cpp')
-rw-r--r-- | lib/CompilerDriver/BuiltinOptions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CompilerDriver/BuiltinOptions.cpp b/lib/CompilerDriver/BuiltinOptions.cpp index d90c50d..d1ac8c9 100644 --- a/lib/CompilerDriver/BuiltinOptions.cpp +++ b/lib/CompilerDriver/BuiltinOptions.cpp @@ -30,8 +30,10 @@ cl::opt<std::string> TempDirname("temp-dir", cl::desc("Temp dir name"), cl::list<std::string> Languages("x", cl::desc("Specify the language of the following input files"), cl::ZeroOrMore); + cl::opt<bool> DryRun("dry-run", cl::desc("Only pretend to run commands")); +cl::opt<bool> Time("time", cl::desc("Time individual commands")); cl::opt<bool> VerboseMode("v", cl::desc("Enable verbose mode")); |