[llvm] r328947 - [LegacyPassManager] Make 'print-module-scope' cl::Hidden like the rest of the printing options.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 1 14:54:26 PDT 2018


Author: ctopper
Date: Sun Apr  1 14:54:26 2018
New Revision: 328947

URL: http://llvm.org/viewvc/llvm-project?rev=328947&view=rev
Log:
[LegacyPassManager] Make 'print-module-scope' cl::Hidden like the rest of the printing options.

Modified:
    llvm/trunk/lib/IR/LegacyPassManager.cpp

Modified: llvm/trunk/lib/IR/LegacyPassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/LegacyPassManager.cpp?rev=328947&r1=328946&r2=328947&view=diff
==============================================================================
--- llvm/trunk/lib/IR/LegacyPassManager.cpp (original)
+++ llvm/trunk/lib/IR/LegacyPassManager.cpp Sun Apr  1 14:54:26 2018
@@ -86,7 +86,7 @@ static cl::opt<bool>
     PrintModuleScope("print-module-scope",
                      cl::desc("When printing IR for print-[before|after]{-all} "
                               "always print a module IR"),
-                     cl::init(false));
+                     cl::init(false), cl::Hidden);
 
 static cl::list<std::string>
     PrintFuncsList("filter-print-funcs", cl::value_desc("function names"),




More information about the llvm-commits mailing list