diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-28 00:36:04 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-28 00:36:04 +0000 |
commit | 5b06d9f202e468c717d70f8e8144780b59b93bca (patch) | |
tree | bb2ab6a0a6badc81ccd5548ddc96197a9903519f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6b75484ba6963a748fe08ea44f11b0de89d3d0c3 (diff) | |
download | bcm5719-llvm-5b06d9f202e468c717d70f8e8144780b59b93bca.tar.gz bcm5719-llvm-5b06d9f202e468c717d70f8e8144780b59b93bca.zip |
Don't run the verifier as part of IRgen, this is now down (per module)
in the driver (this means we no longer run the verifier per function, however).
llvm-svn: 58307
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index aaca21bab33..2ca893fb41f 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -25,7 +25,6 @@ #include "llvm/Module.h" #include "llvm/Intrinsics.h" #include "llvm/Target/TargetData.h" -#include "llvm/Analysis/Verifier.h" using namespace clang; using namespace CodeGen; @@ -64,11 +63,6 @@ void CodeGenModule::Release() { EmitCtorList(GlobalDtors, "llvm.global_dtors"); EmitAnnotations(); BindRuntimeFunctions(); - // Run the verifier to check that the generated code is consistent. - if (verifyModule(TheModule, llvm::PrintMessageAction)) { - TheModule.dump(); - assert(0 && "Module failed verification!"); - } } void CodeGenModule::BindRuntimeFunctions() { |