diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-11-18 03:19:31 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-11-18 03:19:31 +0000 |
commit | 65c102e7fb68f78117be665dd9d4a73ef7e9f795 (patch) | |
tree | af6b5804d54aaf10edbc4f04869b6a37fea09008 /lib/IR | |
parent | 1572ba716bad4944a83040adef76c186c4841e95 (diff) | |
download | external_llvm-65c102e7fb68f78117be665dd9d4a73ef7e9f795.zip external_llvm-65c102e7fb68f78117be665dd9d4a73ef7e9f795.tar.gz external_llvm-65c102e7fb68f78117be665dd9d4a73ef7e9f795.tar.bz2 |
Debug Info Verifier: disable it by default.
Debug info verifier is part of the verifier which is a Function Pass.
Tot currently tries to pull all reachable debug info MDNodes in each function,
which is too time-consuming. The correct fix seems to be separating debug info
verification to its own module pass.
I will disable the debug info verifier until a correct fix is found.
For Bill's testing case, enabling debug info verifier increase compile
time from 11s to 11m.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r-- | lib/IR/Verifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/Verifier.cpp b/lib/IR/Verifier.cpp index 3331a37..0bcb118 100644 --- a/lib/IR/Verifier.cpp +++ b/lib/IR/Verifier.cpp @@ -78,7 +78,7 @@ using namespace llvm; static cl::opt<bool> DisableDebugInfoVerifier("disable-debug-info-verifier", - cl::init(false)); + cl::init(true)); namespace { // Anonymous namespace for class struct PreVerifier : public FunctionPass { |