From: Duncan P. N. Exon Smith Date: Sun, 8 Dec 2013 01:28:17 +0000 (+0000) Subject: Fix comments for PassDebuggingString X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3f8ce09441e8221608b2afcfffa1acb907fab836;p=oota-llvm.git Fix comments for PassDebuggingString No functionality change. Changing comments to match code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/LegacyPassManagers.h b/include/llvm/IR/LegacyPassManagers.h index d256a3e92cc..6116132e611 100644 --- a/include/llvm/IR/LegacyPassManagers.h +++ b/include/llvm/IR/LegacyPassManagers.h @@ -101,15 +101,15 @@ namespace llvm { // enums for debugging strings enum PassDebuggingString { - EXECUTION_MSG, // "Executing Pass '" - MODIFICATION_MSG, // "' Made Modification '" - FREEING_MSG, // " Freeing Pass '" - ON_BASICBLOCK_MSG, // "' on BasicBlock '" + PassName + "'...\n" + EXECUTION_MSG, // "Executing Pass '" + PassName + MODIFICATION_MSG, // "Made Modification '" + PassName + FREEING_MSG, // " Freeing Pass '" + PassName + ON_BASICBLOCK_MSG, // "' on BasicBlock '" + InstructionName + "'...\n" ON_FUNCTION_MSG, // "' on Function '" + FunctionName + "'...\n" ON_MODULE_MSG, // "' on Module '" + ModuleName + "'...\n" - ON_REGION_MSG, // " 'on Region ...\n'" - ON_LOOP_MSG, // " 'on Loop ...\n'" - ON_CG_MSG // "' on Call Graph ...\n'" + ON_REGION_MSG, // "' on Region '" + Msg + "'...\n'" + ON_LOOP_MSG, // "' on Loop '" + Msg + "'...\n'" + ON_CG_MSG // "' on Call Graph Nodes '" + Msg + "'...\n'" }; /// PassManagerPrettyStackEntry - This is used to print informative information