forked from OSchip/llvm-project
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. llvm-svn: 232505
This commit is contained in:
parent
7d3cf0062a
commit
0633fd7fb4
|
@ -78,7 +78,7 @@
|
|||
#include <cstdarg>
|
||||
using namespace llvm;
|
||||
|
||||
static cl::opt<bool> VerifyDebugInfo("verify-debug-info", cl::init(false));
|
||||
static cl::opt<bool> VerifyDebugInfo("verify-debug-info", cl::init(true));
|
||||
|
||||
namespace {
|
||||
struct VerifierSupport {
|
||||
|
|
Loading…
Reference in New Issue