From 85ef2546303fabe32de3f2519a978fa2a7fd5958 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 19 Jun 2007 05:47:49 +0000 Subject: [PATCH] document and hide two options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37651 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/LLVMTargetMachine.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index 3371b7948b6..500f0e0941c 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp @@ -22,8 +22,11 @@ #include "llvm/Support/CommandLine.h" using namespace llvm; -static cl::opt PrintLSR("print-lsr-output"); -static cl::opt PrintISelInput("print-isel-input"); +static cl::opt PrintLSR("print-lsr-output", cl::Hidden, + cl::desc("Print LLVM IR produced by the loop-reduce pass")); +static cl::opt PrintISelInput("print-isel-input", cl::Hidden, + cl::desc("Print LLVM IR input to isel pass")); + FileModel::Model LLVMTargetMachine::addPassesToEmitFile(FunctionPassManager &PM, std::ostream &Out, -- 2.34.1