]> granicus.if.org Git - llvm/commit
Verifier: Set --verify-debug-info=true by default
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 17 Mar 2015 17:28:41 +0000 (17:28 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 17 Mar 2015 17:28:41 +0000 (17:28 +0000)
commit2f5bc29926efbeb3b3b7c7f45041a4ea34f6d8c8
treeb3b7e121b3667fd0d80ff5174c80cf4e11aa275c
parent73cd697dec358f6362c11cbec445f8cf928b0427
Verifier: Set --verify-debug-info=true by default

r186634 started verifying debug info, and r194986 disabled it by default
because it was too expensive to run the checks on every function (since
most of the graph was reachable from each function).

r206300 moved the checks to module-level to make it cheaper, but there
was already quite a bit of testcase bitrot (and the verifier would only
print `<badref>`) so I guess no one had time to turn it back on.

This does just that.  Upgrade scripts this past autumn and winter
probably fixed some of the bitrot, and this weekend I fixed the verifier
output (r232275, r232417, r232418) and thusly the remaining failing
testcases (r232290, r232415).

This is part of PR22777.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232505 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp