diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-18 00:06:56 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-18 00:06:56 +0000 |
| commit | bf4550e3fb1b4c459bd4a14f8bd8bd22c0a069e7 (patch) | |
| tree | 4aa761ee5f516b6f31b4f1ee2efdd435213706b8 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
| parent | 00871c71e9c464800a8d2f2401a5ef68169fce61 (diff) | |
| download | bcm5719-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.cpp | 2 |
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 |

