[llvm] r290464 - llvm-lto2: remove leading '-' for cl::opt declaration

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 23 15:54:35 PST 2016


Author: mehdi_amini
Date: Fri Dec 23 17:54:34 2016
New Revision: 290464

URL: http://llvm.org/viewvc/llvm-project?rev=290464&view=rev
Log:
llvm-lto2: remove leading '-' for cl::opt declaration

Modified:
    llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp

Modified: llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp?rev=290464&r1=290463&r2=290464&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp (original)
+++ llvm/trunk/tools/llvm-lto2/llvm-lto2.cpp Fri Dec 23 17:54:34 2016
@@ -64,7 +64,7 @@ static cl::opt<bool>
                                        "import files for the "
                                        "distributed backend case"));
 
-static cl::opt<int> Threads("-thinlto-threads",
+static cl::opt<int> Threads("thinlto-threads",
                             cl::init(llvm::heavyweight_hardware_concurrency()));
 
 static cl::list<std::string> SymbolResolutions(




More information about the llvm-commits mailing list