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 | 101d3452278ab7d9852c86decaf2665d47812f8d (patch) | |
tree | e402f490c79de3e0d9faf713ca5d1b19902d4594 /llvm/lib/IR/Verifier.cpp | |
parent | 3aa9b03962cd4c42e8711fd88d396935e12de7e1 (diff) | |
download | bcm5719-llvm-101d3452278ab7d9852c86decaf2665d47812f8d.tar.gz bcm5719-llvm-101d3452278ab7d9852c86decaf2665d47812f8d.zip |
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.
llvm-svn: 194986
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index 3331a37defd..0bcb118ecad 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/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 { |