mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
CodeGen: Rename DEBUG_TYPE to match passnames
Rename the DEBUG_TYPE to match the names of corresponding passes where it makes sense. Also establish the pattern of simply referencing DEBUG_TYPE instead of repeating the passname where possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303921 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
using namespace llvm;
|
||||
using namespace llvm::safestack;
|
||||
|
||||
#define DEBUG_TYPE "safestack"
|
||||
#define DEBUG_TYPE "safe-stack"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
@@ -820,10 +820,10 @@ public:
|
||||
} // anonymous namespace
|
||||
|
||||
char SafeStackLegacyPass::ID = 0;
|
||||
INITIALIZE_PASS_BEGIN(SafeStackLegacyPass, "safe-stack",
|
||||
INITIALIZE_PASS_BEGIN(SafeStackLegacyPass, DEBUG_TYPE,
|
||||
"Safe Stack instrumentation pass", false, false)
|
||||
INITIALIZE_PASS_DEPENDENCY(TargetPassConfig)
|
||||
INITIALIZE_PASS_END(SafeStackLegacyPass, "safe-stack",
|
||||
INITIALIZE_PASS_END(SafeStackLegacyPass, DEBUG_TYPE,
|
||||
"Safe Stack instrumentation pass", false, false)
|
||||
|
||||
FunctionPass *llvm::createSafeStackPass() { return new SafeStackLegacyPass(); }
|
||||
|
||||
Reference in New Issue
Block a user