summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-18 00:06:56 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-18 00:06:56 +0000
commitbf4550e3fb1b4c459bd4a14f8bd8bd22c0a069e7 (patch)
tree4aa761ee5f516b6f31b4f1ee2efdd435213706b8 /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parent00871c71e9c464800a8d2f2401a5ef68169fce61 (diff)
downloadbcm5719-llvm-bf4550e3fb1b4c459bd4a14f8bd8bd22c0a069e7.tar.gz
bcm5719-llvm-bf4550e3fb1b4c459bd4a14f8bd8bd22c0a069e7.zip
Pass a Banner argument to the machine code verifier both from
createMachineVerifierPass and MachineFunction::verify. The banner is printed before the machine code dump, just like the printer pass. llvm-svn: 122113
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index 564d593d7a5..d310b14ae42 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -251,7 +251,7 @@ static void printAndVerify(PassManagerBase &PM,
PM.add(createMachineFunctionPrinterPass(dbgs(), Banner));
if (VerifyMachineCode)
- PM.add(createMachineVerifierPass());
+ PM.add(createMachineVerifierPass(Banner));
}
/// addCommonCodeGenPasses - Add standard LLVM codegen passes used for both
OpenPOWER on IntegriCloud