]> granicus.if.org Git - llvm/commitdiff
[Verifier] Remove the -verify-debug-info cl::opt
authorVedant Kumar <vsk@apple.com>
Thu, 2 Nov 2017 23:44:20 +0000 (23:44 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 2 Nov 2017 23:44:20 +0000 (23:44 +0000)
This cl::opt has been dead for a while. It's no longer possible to run
the verifier without also verifying debug info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317288 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/Verifier.cpp
test/CodeGen/NVPTX/generic-to-nvvm-ir.ll
test/DebugInfo/Generic/location-verifier.ll

index c528f7167e7a30bc60c62291d4a793ffa58c9fe4..5bb1f84d2e5c718a87b4592feae14effc66bc4cb 100644 (file)
 
 using namespace llvm;
 
-static cl::opt<bool> VerifyDebugInfo("verify-debug-info", cl::init(true));
-
 namespace llvm {
 
 struct VerifierSupport {
index f874148c0e830ce6368b58300f83a01213e754d7..5df5183dc2fba11825851394261d531b5ae674b9 100644 (file)
@@ -1,6 +1,6 @@
 ; Verify functionality of NVPTXGenericToNVVM.cpp pass.
 ;
-; RUN: opt < %s -march nvptx64 -S -generic-to-nvvm -verify-debug-info | FileCheck %s
+; RUN: opt < %s -march nvptx64 -S -generic-to-nvvm | FileCheck %s
 
 target datalayout = "e-i64:64-v16:16-v32:32-n16:32:64"
 target triple = "nvptx64-nvidia-cuda"
index b1e0805428c6f89b1d01c3c3bbbf7eb25ad4e001..3c6bb425a6679af1f02843d25482392a1cb7b024 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -disable-output -verify-debug-info -o - < %s 2>&1 | FileCheck %s
+; RUN: llvm-as -disable-output -o - < %s 2>&1 | FileCheck %s
 ; ModuleID = 'test.c'
 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.10.0"