From 096880b59008a44860edd0fcab1f55aa1363bdf5 Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Mon, 29 Jul 2013 20:18:19 +0000 Subject: [PATCH] Debug Info: enable verifier for testing cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187375 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll | 2 +- test/CodeGen/ARM/2010-08-04-StackVariable.ll | 2 +- test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll | 2 +- test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll | 2 +- test/DebugInfo/inlined-vars.ll | 4 ++-- test/Transforms/LICM/debug-value.ll | 2 +- test/Transforms/LoopIdiom/debug-line.ll | 2 +- test/Transforms/LoopRotate/dbgvalue.ll | 2 +- test/Transforms/SimplifyCFG/branch-fold-dbg.ll | 2 +- test/Transforms/SimplifyCFG/hoist-dbgvalue.ll | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll b/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll index 423bc9edfde..a0d77fa13da 100644 --- a/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll +++ b/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll @@ -1,4 +1,4 @@ -; RUN: opt -std-compile-opts -disable-debug-info-verifier < %s | llvm-dis | not grep badref +; RUN: opt -std-compile-opts < %s | llvm-dis | not grep badref target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-apple-darwin10.2" diff --git a/test/CodeGen/ARM/2010-08-04-StackVariable.ll b/test/CodeGen/ARM/2010-08-04-StackVariable.ll index 3c5fa5f7941..f4ad4bcdc1a 100644 --- a/test/CodeGen/ARM/2010-08-04-StackVariable.ll +++ b/test/CodeGen/ARM/2010-08-04-StackVariable.ll @@ -1,4 +1,4 @@ -; RUN: llc -disable-debug-info-verifier -O0 -mtriple=arm-apple-darwin < %s | grep DW_OP_breg +; RUN: llc -O0 -mtriple=arm-apple-darwin < %s | grep DW_OP_breg ; Use DW_OP_breg in variable's location expression if the variable is in a stack slot. %struct.SVal = type { i8*, i32 } diff --git a/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll b/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll index c6bea016ac0..626d1213cac 100644 --- a/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll +++ b/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll @@ -1,4 +1,4 @@ -; RUN: llc -disable-debug-info-verifier < %s | FileCheck %s +; RUN: llc < %s | FileCheck %s target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32" target triple = "thumbv7-apple-darwin10" diff --git a/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll b/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll index 298fb7ce7d9..33826f8006b 100644 --- a/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll +++ b/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll @@ -1,4 +1,4 @@ -; RUN: llc -disable-debug-info-verifier < %s | FileCheck %s +; RUN: llc < %s | FileCheck %s ; Check debug info output for merged global. ; DW_AT_location diff --git a/test/DebugInfo/inlined-vars.ll b/test/DebugInfo/inlined-vars.ll index 1fc687e50d4..cd98e1d89a5 100644 --- a/test/DebugInfo/inlined-vars.ll +++ b/test/DebugInfo/inlined-vars.ll @@ -1,5 +1,5 @@ -; RUN: llc -disable-debug-info-verifier -O0 < %s | FileCheck %s -check-prefix ARGUMENT -; RUN: llc -disable-debug-info-verifier -O0 < %s | FileCheck %s -check-prefix VARIABLE +; RUN: llc -O0 < %s | FileCheck %s -check-prefix ARGUMENT +; RUN: llc -O0 < %s | FileCheck %s -check-prefix VARIABLE ; PR 13202 define i32 @main() uwtable { diff --git a/test/Transforms/LICM/debug-value.ll b/test/Transforms/LICM/debug-value.ll index 5095dc1a27a..3c7006446cb 100644 --- a/test/Transforms/LICM/debug-value.ll +++ b/test/Transforms/LICM/debug-value.ll @@ -1,4 +1,4 @@ -; RUN: opt -licm -basicaa -disable-debug-info-verifier < %s -S | FileCheck %s +; RUN: opt -licm -basicaa < %s -S | FileCheck %s define void @dgefa() nounwind ssp { entry: diff --git a/test/Transforms/LoopIdiom/debug-line.ll b/test/Transforms/LoopIdiom/debug-line.ll index 8905c26d157..23375900ac6 100644 --- a/test/Transforms/LoopIdiom/debug-line.ll +++ b/test/Transforms/LoopIdiom/debug-line.ll @@ -1,4 +1,4 @@ -; RUN: opt -loop-idiom -disable-debug-info-verifier < %s -S | FileCheck %s +; RUN: opt -loop-idiom < %s -S | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-apple-darwin10.0.0" diff --git a/test/Transforms/LoopRotate/dbgvalue.ll b/test/Transforms/LoopRotate/dbgvalue.ll index 80126f0b4bd..3434cdc8e52 100644 --- a/test/Transforms/LoopRotate/dbgvalue.ll +++ b/test/Transforms/LoopRotate/dbgvalue.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -disable-debug-info-verifier -loop-rotate < %s | FileCheck %s +; RUN: opt -S -loop-rotate < %s | FileCheck %s declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone diff --git a/test/Transforms/SimplifyCFG/branch-fold-dbg.ll b/test/Transforms/SimplifyCFG/branch-fold-dbg.ll index 44fee274e3a..7fc0cbd4347 100644 --- a/test/Transforms/SimplifyCFG/branch-fold-dbg.ll +++ b/test/Transforms/SimplifyCFG/branch-fold-dbg.ll @@ -1,4 +1,4 @@ -; RUN: opt -simplifycfg -S -disable-debug-info-verifier < %s | FileCheck %s +; RUN: opt -simplifycfg -S < %s | FileCheck %s %0 = type { i32*, i32* } diff --git a/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll b/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll index eb1e2b537e3..0e36066ad3a 100644 --- a/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll +++ b/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll @@ -1,4 +1,4 @@ -; RUN: opt -simplifycfg -S -disable-debug-info-verifier < %s | FileCheck %s +; RUN: opt -simplifycfg -S < %s | FileCheck %s define i32 @foo(i32 %i) nounwind ssp { call void @llvm.dbg.value(metadata !{i32 %i}, i64 0, metadata !6), !dbg !7