ABI/API checker: move node mapping information from under -v to under -debug. NFC

This commit is contained in:
Xi Ge
2019-09-16 12:03:03 -07:00
parent 520527d374
commit 8912ef9fd0

View File

@@ -130,6 +130,10 @@ static llvm::cl::opt<bool>
Verbose("v", llvm::cl::desc("Verbose"),
llvm::cl::cat(Category));
static llvm::cl::opt<bool>
DebugMapping("debug-mapping", llvm::cl::desc("Dumping information for debug purposes"),
llvm::cl::cat(Category));
static llvm::cl::opt<bool>
Abi("abi", llvm::cl::desc("Dumping ABI interface"), llvm::cl::init(false),
llvm::cl::cat(Category));
@@ -1090,7 +1094,7 @@ public:
ProtocolReqWhitelist(std::move(prWhitelist)) {}
void foundMatch(NodePtr Left, NodePtr Right, NodeMatchReason Reason) override {
if (options::Verbose)
if (options::DebugMapping)
debugMatch(Left, Right, Reason, llvm::errs());
switch (Reason) {
case NodeMatchReason::Added: