<p dir="ltr"><br>
On Jul 18, 2013 5:34 PM, "Manman Ren" <<a href="mailto:mren@apple.com">mren@apple.com</a>> wrote:<br>
><br>
> Author: mren<br>
> Date: Thu Jul 18 19:31:03 2013<br>
> New Revision: 186634<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=186634&view=rev">http://llvm.org/viewvc/llvm-project?rev=186634&view=rev</a><br>
> Log:<br>
> Debug Info: enable verifying by default and disable testing cases that fail.<br>
><br>
> 1> Use DebugInfoFinder to find debug info MDNodes.<br>
> 2> Add disable-debug-info-verifier to disable verifying debug info.<br>
> 3> Disable verifying for testing cases that fail (will update the testing cases<br>
>    later on).<br>
> 4> MDNodes generated by clang can have empty filename for TAG_inheritance and<br>
>    TAG_friend, so DIType::Verify is modified accordingly.</p>
<p dir="ltr">You could add calls to verify to dibuilder - you'll see I've done this in a few places already. This will ensure we don't end up in a weird place where clang  produces invalid debug info via dibuilder.</p>

<p dir="ltr">><br>
> Note that DebugInfoFinder does not list all debug info MDNode.<br>
> For example, clang can generate:<br>
> metadata !{i32 786468}, which will fail to verify.<br>
> This MDNode is used by debug info but not included in DebugInfoFinder.<br>
> This MDNode is generated as a temporary node in DIBuilder::createFunction<br>
>   Value *TElts[] = { GetTagConstant(VMContext, DW_TAG_base_type) };<br>
>   MDNode::getTemporary(VMContext, TElts)</p>
<p dir="ltr">Do these nodes ever make it into the final IR? If so, how/why/when? If not, why would the verifier ever care about them?</p>
<p dir="ltr">><br>
> Modified:<br>
>     llvm/trunk/lib/IR/DebugInfo.cpp<br>
>     llvm/trunk/lib/IR/Verifier.cpp<br>
>     llvm/trunk/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll<br>
>     llvm/trunk/test/CodeGen/X86/2010-08-04-StackVariable.ll<br>
>     llvm/trunk/test/CodeGen/X86/dbg-i128-const.ll<br>
>     llvm/trunk/test/CodeGen/X86/dbg-subrange.ll<br>
>     llvm/trunk/test/CodeGen/X86/dbg-value-dag-combine.ll<br>
>     llvm/trunk/test/CodeGen/X86/dbg-value-isel.ll<br>
>     llvm/trunk/test/CodeGen/X86/dbg-value-location.ll<br>
>     llvm/trunk/test/DebugInfo/2010-04-06-NestedFnDbgInfo.ll<br>
>     llvm/trunk/test/DebugInfo/2010-04-19-FramePtr.ll<br>
>     llvm/trunk/test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll<br>
>     llvm/trunk/test/DebugInfo/X86/2011-12-16-BadStructRef.ll<br>
>     llvm/trunk/test/DebugInfo/X86/dbg-value-inlined-parameter.ll<br>
>     llvm/trunk/test/DebugInfo/X86/linkage-name.ll<br>
>     llvm/trunk/test/DebugInfo/X86/low-pc-cu.ll<br>
>     llvm/trunk/test/DebugInfo/X86/multiple-at-const-val.ll<br>
><br>
> Modified: llvm/trunk/lib/IR/DebugInfo.cpp<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/DebugInfo.cpp?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/DebugInfo.cpp?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/lib/IR/DebugInfo.cpp (original)<br>
> +++ llvm/trunk/lib/IR/DebugInfo.cpp Thu Jul 18 19:31:03 2013<br>
> @@ -459,6 +459,8 @@ bool DIType::Verify() const {<br>
>        Tag != dwarf::DW_TAG_array_type &&<br>
>        Tag != dwarf::DW_TAG_enumeration_type &&<br>
>        Tag != dwarf::DW_TAG_subroutine_type &&<br>
> +      Tag != dwarf::DW_TAG_inheritance &&<br>
> +      Tag != dwarf::DW_TAG_friend &&<br>
>        getFilename().empty())<br>
>      return false;<br>
>    return true;<br>
><br>
> Modified: llvm/trunk/lib/IR/Verifier.cpp<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/lib/IR/Verifier.cpp (original)<br>
> +++ llvm/trunk/lib/IR/Verifier.cpp Thu Jul 18 19:31:03 2013<br>
> @@ -53,6 +53,7 @@<br>
>  #include "llvm/ADT/StringExtras.h"<br>
>  #include "llvm/Analysis/Dominators.h"<br>
>  #include "llvm/Assembly/Writer.h"<br>
> +#include "llvm/DebugInfo.h"<br>
>  #include "llvm/IR/CallingConv.h"<br>
>  #include "llvm/IR/Constants.h"<br>
>  #include "llvm/IR/DerivedTypes.h"<br>
> @@ -66,6 +67,7 @@<br>
>  #include "llvm/PassManager.h"<br>
>  #include "llvm/Support/CFG.h"<br>
>  #include "llvm/Support/CallSite.h"<br>
> +#include "llvm/Support/CommandLine.h"<br>
>  #include "llvm/Support/ConstantRange.h"<br>
>  #include "llvm/Support/Debug.h"<br>
>  #include "llvm/Support/ErrorHandling.h"<br>
> @@ -74,6 +76,9 @@<br>
>  #include <cstdarg><br>
>  using namespace llvm;<br>
><br>
> +static cl::opt<bool> DisableDebugInfoVerifier("disable-debug-info-verifier",<br>
> +                                              cl::init(false));<br>
> +<br>
>  namespace {  // Anonymous namespace for class<br>
>    struct PreVerifier : public FunctionPass {<br>
>      static char ID; // Pass ID, replacement for typeid<br>
> @@ -202,6 +207,9 @@ namespace {<br>
><br>
>        visitModuleFlags(M);<br>
><br>
> +      // Verify Debug Info.<br>
> +      verifyDebugInfo(M);<br>
> +<br>
>        // If the module is broken, abort at this time.<br>
>        return abortIfBroken();<br>
>      }<br>
> @@ -309,6 +317,8 @@ namespace {<br>
>      void VerifyFunctionAttrs(FunctionType *FT, AttributeSet Attrs,<br>
>                               const Value *V);<br>
><br>
> +    void verifyDebugInfo(Module &M);<br>
> +<br>
>      void WriteValue(const Value *V) {<br>
>        if (!V) return;<br>
>        if (isa<Instruction>(V)) {<br>
> @@ -2185,6 +2195,28 @@ void Verifier::visitIntrinsicFunctionCal<br>
>    }<br>
>  }<br>
><br>
> +void Verifier::verifyDebugInfo(Module &M) {<br>
> +  // Verify Debug Info.<br>
> +  if (!DisableDebugInfoVerifier) {<br>
> +    DebugInfoFinder Finder;<br>
> +    Finder.processModule(M);<br>
> +<br>
> +    for (DebugInfoFinder::iterator I = Finder.compile_unit_begin(),<br>
> +         E = Finder.compile_unit_end(); I != E; ++I)<br>
> +      Assert1(DICompileUnit(*I).Verify(), "DICompileUnit does not Verify!", *I);<br>
> +    for (DebugInfoFinder::iterator I = Finder.subprogram_begin(),<br>
> +         E = Finder.subprogram_end(); I != E; ++I)<br>
> +      Assert1(DISubprogram(*I).Verify(), "DISubprogram does not Verify!", *I);<br>
> +    for (DebugInfoFinder::iterator I = Finder.global_variable_begin(),<br>
> +         E = Finder.global_variable_end(); I != E; ++I)<br>
> +      Assert1(DIGlobalVariable(*I).Verify(),<br>
> +              "DIGlobalVariable does not Verify!", *I);<br>
> +    for (DebugInfoFinder::iterator I = Finder.type_begin(),<br>
> +         E = Finder.type_end(); I != E; ++I)<br>
> +      Assert1(DIType(*I).Verify(), "DIType does not Verify!", *I);<br>
> +  }<br>
> +}<br>
> +<br>
>  //===----------------------------------------------------------------------===//<br>
>  //  Implement the public interfaces to this file...<br>
>  //===----------------------------------------------------------------------===//<br>
><br>
> Modified: llvm/trunk/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll (original)<br>
> +++ llvm/trunk/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,5 +1,5 @@<br>
> -; RUN: llc -O2 < %s | FileCheck %s<br>
> -; RUN: llc -O2 -regalloc=basic < %s | FileCheck %s<br>
> +; RUN: llc -O2 -disable-debug-info-verifier < %s | FileCheck %s<br>
> +; RUN: llc -O2 -disable-debug-info-verifier -regalloc=basic < %s | FileCheck %s<br>
>  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"<br>
>  target triple = "x86_64-apple-darwin10"<br>
><br>
><br>
> Modified: llvm/trunk/test/CodeGen/X86/2010-08-04-StackVariable.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2010-08-04-StackVariable.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2010-08-04-StackVariable.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/CodeGen/X86/2010-08-04-StackVariable.ll (original)<br>
> +++ llvm/trunk/test/CodeGen/X86/2010-08-04-StackVariable.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc -O0 -mtriple=x86_64-apple-darwin < %s | grep DW_OP_breg7<br>
> +; RUN: llc -O0 -mtriple=x86_64-apple-darwin -disable-debug-info-verifier < %s | grep DW_OP_breg7<br>
>  ; Use DW_OP_breg7 in variable's location expression if the variable is in a stack slot.<br>
><br>
>  %struct.SVal = type { i8*, i32 }<br>
><br>
> Modified: llvm/trunk/test/CodeGen/X86/dbg-i128-const.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-i128-const.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-i128-const.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/CodeGen/X86/dbg-i128-const.ll (original)<br>
> +++ llvm/trunk/test/CodeGen/X86/dbg-i128-const.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s<br>
> +; RUN: llc -mtriple=x86_64-linux -disable-debug-info-verifier < %s | FileCheck %s<br>
><br>
>  ; CHECK: DW_AT_const_value<br>
>  ; CHECK-NEXT: 42<br>
><br>
> Modified: llvm/trunk/test/CodeGen/X86/dbg-subrange.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-subrange.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-subrange.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/CodeGen/X86/dbg-subrange.ll (original)<br>
> +++ llvm/trunk/test/CodeGen/X86/dbg-subrange.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc -O0 < %s | FileCheck %s<br>
> +; RUN: llc -O0 -disable-debug-info-verifier < %s | FileCheck %s<br>
>  ; Radar 10464995<br>
>  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-S128"<br>
>  target triple = "x86_64-apple-macosx10.7.2"<br>
><br>
> Modified: llvm/trunk/test/CodeGen/X86/dbg-value-dag-combine.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-value-dag-combine.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-value-dag-combine.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/CodeGen/X86/dbg-value-dag-combine.ll (original)<br>
> +++ llvm/trunk/test/CodeGen/X86/dbg-value-dag-combine.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc < %s | FileCheck %s<br>
> +; RUN: llc -disable-debug-info-verifier < %s | FileCheck %s<br>
>  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"<br>
>  target triple = "x86_64-apple-darwin10.0.0"<br>
>  ; PR 9817<br>
><br>
> Modified: llvm/trunk/test/CodeGen/X86/dbg-value-isel.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-value-isel.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-value-isel.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/CodeGen/X86/dbg-value-isel.ll (original)<br>
> +++ llvm/trunk/test/CodeGen/X86/dbg-value-isel.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc < %s | FileCheck %s<br>
> +; RUN: llc -disable-debug-info-verifier < %s | FileCheck %s<br>
>  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"<br>
>  target triple = "x86_64-apple-darwin10.0.0"<br>
>  ; PR 9879<br>
><br>
> Modified: llvm/trunk/test/CodeGen/X86/dbg-value-location.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-value-location.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-value-location.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/CodeGen/X86/dbg-value-location.ll (original)<br>
> +++ llvm/trunk/test/CodeGen/X86/dbg-value-location.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,5 +1,5 @@<br>
> -; RUN: llc < %s | FileCheck %s<br>
> -; RUN: llc < %s -regalloc=basic | FileCheck %s<br>
> +; RUN: llc -disable-debug-info-verifier < %s | FileCheck %s<br>
> +; RUN: llc -disable-debug-info-verifier < %s -regalloc=basic | FileCheck %s<br>
>  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"<br>
>  target triple = "x86_64-apple-darwin10.0.0"<br>
>  ;Radar 8950491<br>
><br>
> Modified: llvm/trunk/test/DebugInfo/2010-04-06-NestedFnDbgInfo.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-04-06-NestedFnDbgInfo.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-04-06-NestedFnDbgInfo.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/DebugInfo/2010-04-06-NestedFnDbgInfo.ll (original)<br>
> +++ llvm/trunk/test/DebugInfo/2010-04-06-NestedFnDbgInfo.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llvm-as < %s | llc -asm-verbose -O0 | grep AT_specification | count 2<br>
> +; RUN: llvm-as -disable-debug-info-verifier < %s | llc -asm-verbose -O0 -disable-debug-info-verifier | grep AT_specification | count 2<br>
>  ; Radar 7833483<br>
>  ; Do not emit AT_specification for nested function foo.<br>
><br>
><br>
> Modified: llvm/trunk/test/DebugInfo/2010-04-19-FramePtr.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-04-19-FramePtr.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-04-19-FramePtr.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/DebugInfo/2010-04-19-FramePtr.ll (original)<br>
> +++ llvm/trunk/test/DebugInfo/2010-04-19-FramePtr.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,6 +1,6 @@<br>
> -; RUN: llc -asm-verbose -O1 -o %t < %s<br>
> +; RUN: llc -disable-debug-info-verifier -asm-verbose -O1 -o %t < %s<br>
>  ; RUN: grep DW_AT_APPLE_omit_frame_ptr %t<br>
> -; RUN: llc -disable-fp-elim -asm-verbose -O1 -o %t < %s<br>
> +; RUN: llc -disable-debug-info-verifier -disable-fp-elim -asm-verbose -O1 -o %t < %s<br>
>  ; RUN: grep -v DW_AT_APPLE_omit_frame_ptr %t<br>
><br>
><br>
><br>
> Modified: llvm/trunk/test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll (original)<br>
> +++ llvm/trunk/test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc -mtriple=x86_64-pc-linux-gnu %s -o %t -filetype=obj<br>
> +; RUN: llc -mtriple=x86_64-pc-linux-gnu -disable-debug-info-verifier %s -o %t -filetype=obj<br>
>  ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s<br>
><br>
>  ; ModuleID = 'test.c'<br>
><br>
> Modified: llvm/trunk/test/DebugInfo/X86/2011-12-16-BadStructRef.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/2011-12-16-BadStructRef.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/2011-12-16-BadStructRef.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/DebugInfo/X86/2011-12-16-BadStructRef.ll (original)<br>
> +++ llvm/trunk/test/DebugInfo/X86/2011-12-16-BadStructRef.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc -mtriple=x86_64-apple-macosx10.7 %s -o %t -filetype=obj<br>
> +; RUN: llc -mtriple=x86_64-apple-macosx10.7 -disable-debug-info-verifier %s -o %t -filetype=obj<br>
>  ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s<br>
><br>
>  ; CHECK: b_ref<br>
><br>
> Modified: llvm/trunk/test/DebugInfo/X86/dbg-value-inlined-parameter.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/dbg-value-inlined-parameter.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/dbg-value-inlined-parameter.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/DebugInfo/X86/dbg-value-inlined-parameter.ll (original)<br>
> +++ llvm/trunk/test/DebugInfo/X86/dbg-value-inlined-parameter.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,6 +1,6 @@<br>
> -; RUN: llc -mtriple=x86_64-apple-darwin %s -filetype=obj -o %t<br>
> +; RUN: llc -mtriple=x86_64-apple-darwin -disable-debug-info-verifier %s -filetype=obj -o %t<br>
>  ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s<br>
> -; RUN: llc -mtriple=x86_64-apple-darwin -regalloc=basic %s -filetype=obj -o %t<br>
> +; RUN: llc -mtriple=x86_64-apple-darwin -disable-debug-info-verifier -regalloc=basic %s -filetype=obj -o %t<br>
>  ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s<br>
><br>
>  ;CHECK: DW_TAG_inlined_subroutine<br>
><br>
> Modified: llvm/trunk/test/DebugInfo/X86/linkage-name.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/linkage-name.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/linkage-name.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/DebugInfo/X86/linkage-name.ll (original)<br>
> +++ llvm/trunk/test/DebugInfo/X86/linkage-name.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc -mtriple=x86_64-macosx -darwin-gdb-compat=Disable %s -o %t -filetype=obj<br>
> +; RUN: llc -mtriple=x86_64-macosx -disable-debug-info-verifier -darwin-gdb-compat=Disable %s -o %t -filetype=obj<br>
>  ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s<br>
><br>
>  ; CHECK: DW_TAG_subprogram [9] *<br>
><br>
> Modified: llvm/trunk/test/DebugInfo/X86/low-pc-cu.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/low-pc-cu.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/low-pc-cu.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/DebugInfo/X86/low-pc-cu.ll (original)<br>
> +++ llvm/trunk/test/DebugInfo/X86/low-pc-cu.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc -mtriple=x86_64-apple-darwin %s -o %t -filetype=obj<br>
> +; RUN: llc -mtriple=x86_64-apple-darwin -disable-debug-info-verifier %s -o %t -filetype=obj<br>
>  ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s<br>
><br>
>  ; Check that we use DW_AT_low_pc<br>
><br>
> Modified: llvm/trunk/test/DebugInfo/X86/multiple-at-const-val.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/multiple-at-const-val.ll?rev=186634&r1=186633&r2=186634&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/multiple-at-const-val.ll?rev=186634&r1=186633&r2=186634&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/DebugInfo/X86/multiple-at-const-val.ll (original)<br>
> +++ llvm/trunk/test/DebugInfo/X86/multiple-at-const-val.ll Thu Jul 18 19:31:03 2013<br>
> @@ -1,4 +1,4 @@<br>
> -; RUN: llc -O0 %s -mtriple=x86_64-apple-darwin -filetype=obj -o %t<br>
> +; RUN: llc -O0 -disable-debug-info-verifier %s -mtriple=x86_64-apple-darwin -filetype=obj -o %t<br>
>  ; RUN: llvm-dwarfdump %t | FileCheck %s<br>
><br>
>  ; rdar://13071590<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</p>