<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 3, 2015 at 9:54 AM, Duncan P. N. Exon Smith <span dir="ltr"><<a href="mailto:dexonsmith@apple.com" target="_blank">dexonsmith@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: dexonsmith<br>
Date: Fri Apr  3 11:54:30 2015<br>
New Revision: 234021<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=234021&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=234021&view=rev</a><br>
Log:<br>
Verifier: Check that inlined-at locations agree<br>
<br>
Check that the `MDLocalVariable::getInlinedAt()` in a debug info<br>
intrinsic's variable always matches the `MDLocation::getInlinedAt()` of<br>
its `!dbg` attachment.<br>
<br>
The goal here is to get rid of `MDLocalVariable::getInlinedAt()`<br>
entirely (PR22778), since it's expensive and unnecessary, but I'll let<br>
this verifier check bake for a while (a week maybe?) first.  I've<br>
updated the testcases that had the wrong value for `inlinedAt:`.<br>
<br>
This checks that things are sane in the IR, but currently things go out<br>
of whack in a few places in the backend.  I'll follow shortly with<br>
assertions in the backend (with code fixes).<br>
<br>
If you have out-of-tree testcases that just started failing, here's how<br>
I updated these ones:<br>
<br>
 1. The verifier check gives you the basic block, function, instruction,<br>
    and relevant metadata arguments (metadata numbering doesn't<br>
    necessarily match the source file, unfortunately).<br>
 2. Look at the `@llvm.dbg.*()` instruction, and compare the<br>
    `inlinedAt:` fields of the variable argument (second `metadata`<br>
    argument) and the `!dbg` attachment.<br>
 3. Figure out based on the variable `scope:` chain and the functions in<br>
    the file whether the variable has been inlined (and into what), so<br>
    you can determine which `inlinedAt:` is actually correct.  In all of<br>
    the in-tree testcases, the `!MDLocation()` was correct and the<br>
    `!MDLocalVariable()` was wrong, but YMMV.<br></blockquote><div><br>This surprises me - you're saying the inlinedAt location on the local variable was wrong where the !dbg was right? (& the one we were relying on/using for output was, presumably, the inlinedAt on the local variable? the one that was wrong?)<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 4. Duplicate the metadata that you're going to change, and add/drop the<br>
    `inlinedAt:` field from one of them.  Be careful that the other<br>
    references to the same metadata node point at the correct one.<br>
<br>
Modified:<br>
    llvm/trunk/lib/IR/Verifier.cpp<br>
    llvm/trunk/test/CodeGen/ARM/debug-info-d16-reg.ll<br>
    llvm/trunk/test/CodeGen/ARM/debug-info-s16-reg.ll<br>
    llvm/trunk/test/DebugInfo/2010-05-03-OriginDIE.ll<br>
    llvm/trunk/test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll<br>
    llvm/trunk/test/DebugInfo/Mips/InlinedFnLocalVar.ll<br>
    llvm/trunk/test/DebugInfo/PR20038.ll<br>
    llvm/trunk/test/DebugInfo/X86/InlinedFnLocalVar.ll<br>
    llvm/trunk/test/DebugInfo/X86/dbg-value-inlined-parameter.ll<br>
    llvm/trunk/test/DebugInfo/X86/inline-member-function.ll<br>
    llvm/trunk/test/DebugInfo/X86/inline-seldag-test.ll<br>
    llvm/trunk/test/DebugInfo/cross-cu-inlining.ll<br>
    llvm/trunk/test/DebugInfo/inline-scopes.ll<br>
    llvm/trunk/test/DebugInfo/namespace_inline_function_definition.ll<br>
    llvm/trunk/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll<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=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/IR/Verifier.cpp (original)<br>
+++ llvm/trunk/lib/IR/Verifier.cpp Fri Apr  3 11:54:30 2015<br>
@@ -3372,6 +3372,20 @@ void Verifier::visitDbgIntrinsic(StringR<br>
   Assert(isa<MDExpression>(DII.getRawExpression()),<br>
          "invalid llvm.dbg." + Kind + " intrinsic expression", &DII,<br>
          DII.getRawExpression());<br>
+<br>
+  // Ignore broken !dbg attachments; they're checked elsewhere.<br>
+  if (MDNode *N = DII.getDebugLoc().getAsMDNode())<br>
+    if (!isa<MDLocation>(N))<br>
+      return;<br>
+<br>
+  // The inlined-at attachments for variables and !dbg attachments must agree.<br>
+  MDLocalVariable *Var = DII.getVariable();<br>
+  MDLocation *VarIA = Var->getInlinedAt();<br>
+  MDLocation *Loc = DII.getDebugLoc();<br>
+  MDLocation *LocIA = Loc ? Loc->getInlinedAt() : nullptr;<br>
+  BasicBlock *BB = DII.getParent();<br>
+  Assert(VarIA == LocIA, "mismatched variable and !dbg inlined-at", &DII, BB,<br>
+         BB ? BB->getParent() : nullptr, Var, VarIA, Loc, LocIA);<br>
 }<br>
<br>
 void Verifier::visitUnresolvedTypeRef(const MDString *S, const MDNode *N) {<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/debug-info-d16-reg.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/debug-info-d16-reg.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/debug-info-d16-reg.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/debug-info-d16-reg.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/debug-info-d16-reg.ll Fri Apr  3 11:54:30 2015<br>
@@ -45,9 +45,9 @@ entry:<br>
   %3 = getelementptr inbounds i8, i8* bitcast (i32 (i32, i8**)* @main to i8*), i32 %argc, !dbg !37<br>
   %4 = trunc i32 %argc to i8, !dbg !37<br>
   %5 = add i8 %4, 97, !dbg !37<br>
-  tail call void @llvm.dbg.value(metadata i8* %3, i64 0, metadata !19, metadata !MDExpression()) nounwind, !dbg !38<br>
-  tail call void @llvm.dbg.value(metadata double %1, i64 0, metadata !20, metadata !MDExpression()) nounwind, !dbg !38<br>
-  tail call void @llvm.dbg.value(metadata i8 %5, i64 0, metadata !21, metadata !MDExpression()) nounwind, !dbg !38<br>
+  tail call void @llvm.dbg.value(metadata i8* %3, i64 0, metadata !49, metadata !MDExpression()) nounwind, !dbg !38<br>
+  tail call void @llvm.dbg.value(metadata double %1, i64 0, metadata !50, metadata !MDExpression()) nounwind, !dbg !38<br>
+  tail call void @llvm.dbg.value(metadata i8 %5, i64 0, metadata !51, metadata !MDExpression()) nounwind, !dbg !38<br>
   %6 = zext i8 %5 to i32, !dbg !39<br>
   %7 = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i32 0, i32 0), i8* %3, double %1, i32 %6) nounwind, !dbg !39<br>
   %8 = tail call i32 @printer(i8* %3, double %1, i8 zeroext %5) nounwind, !dbg !40<br>
@@ -75,12 +75,17 @@ declare i32 @puts(i8* nocapture) nounwin<br>
 !13 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 32, align: 32, file: !46, scope: !1, baseType: !14)<br>
 !14 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 32, align: 32, file: !46, scope: !1, baseType: !15)<br>
 !15 = !MDBasicType(tag: DW_TAG_base_type, name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char)<br>
-!16 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "ptr", line: 11, arg: 0, scope: !0, file: !1, type: !6)<br>
-!17 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "val", line: 11, arg: 0, scope: !0, file: !1, type: !7)<br>
-!18 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "c", line: 11, arg: 0, scope: !0, file: !1, type: !8)<br>
-!19 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "ptr", line: 4, arg: 0, scope: !9, file: !1, type: !6)<br>
-!20 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "val", line: 4, arg: 0, scope: !9, file: !1, type: !7)<br>
-!21 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "c", line: 4, arg: 0, scope: !9, file: !1, type: !8)<br>
+!16 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "ptr", line: 11, arg: 1, scope: !0, file: !1, type: !6)<br>
+!17 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "val", line: 11, arg: 2, scope: !0, file: !1, type: !7)<br>
+!18 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "c", line: 11, arg: 3, scope: !0, file: !1, type: !8)<br>
+!19 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "ptr", line: 4, arg: 1, scope: !9, file: !1, type: !6)<br>
+!20 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "val", line: 4, arg: 2, scope: !9, file: !1, type: !7)<br>
+!21 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "c", line: 4, arg: 3, scope: !9, file: !1, type: !8)<br>
+<br>
+!49 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "ptr", line: 4, arg: 1, scope: !9, file: !1, type: !6, inlinedAt: !37)<br>
+!50 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "val", line: 4, arg: 2, scope: !9, file: !1, type: !7, inlinedAt: !37)<br>
+!51 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "c", line: 4, arg: 2, scope: !9, file: !1, type: !8, inlinedAt: !37)<br>
+<br>
 !22 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "argc", line: 17, arg: 0, scope: !10, file: !1, type: !5)<br>
 !23 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "argv", line: 17, arg: 0, scope: !10, file: !1, type: !13)<br>
 !24 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "dval", line: 19, scope: !25, file: !1, type: !7)<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/debug-info-s16-reg.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/debug-info-s16-reg.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/debug-info-s16-reg.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/debug-info-s16-reg.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/debug-info-s16-reg.ll Fri Apr  3 11:54:30 2015<br>
@@ -48,9 +48,9 @@ entry:<br>
   %add.ptr = getelementptr i8, i8* bitcast (i32 (i32, i8**)* @main to i8*), i32 %argc, !dbg !40<br>
   %add5 = add nsw i32 %argc, 97, !dbg !40<br>
   %conv6 = trunc i32 %add5 to i8, !dbg !40<br>
-  tail call void @llvm.dbg.value(metadata i8* %add.ptr, i64 0, metadata !8, metadata !MDExpression()) nounwind, !dbg !41<br>
-  tail call void @llvm.dbg.value(metadata float %conv1, i64 0, metadata !10, metadata !MDExpression()) nounwind, !dbg !42<br>
-  tail call void @llvm.dbg.value(metadata i8 %conv6, i64 0, metadata !12, metadata !MDExpression()) nounwind, !dbg !43<br>
+  tail call void @llvm.dbg.value(metadata i8* %add.ptr, i64 0, metadata !58, metadata !MDExpression()) nounwind, !dbg !41<br>
+  tail call void @llvm.dbg.value(metadata float %conv1, i64 0, metadata !60, metadata !MDExpression()) nounwind, !dbg !42<br>
+  tail call void @llvm.dbg.value(metadata i8 %conv6, i64 0, metadata !62, metadata !MDExpression()) nounwind, !dbg !43<br>
   %conv.i = fpext float %conv1 to double, !dbg !44<br>
   %conv3.i = and i32 %add5, 255, !dbg !44<br>
   %call.i = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i32 0, i32 0), i8* %add.ptr, double %conv.i, i32 %conv3.i) nounwind optsize, !dbg !44<br>
@@ -79,6 +79,11 @@ declare void @llvm.dbg.value(metadata, i<br>
 !11 = !MDBasicType(tag: DW_TAG_base_type, name: "float", size: 32, align: 32, encoding: DW_ATE_float)<br>
 !12 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "c", line: 4, arg: 3, scope: !0, file: !1, type: !13)<br>
 !13 = !MDBasicType(tag: DW_TAG_base_type, name: "unsigned char", size: 8, align: 8, encoding: DW_ATE_unsigned_char)<br>
+<br>
+!58 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "ptr", line: 4, arg: 1, scope: !0, file: !1, type: !9, inlinedAt: !40)<br>
+!60 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "val", line: 4, arg: 2, scope: !0, file: !1, type: !11, inlinedAt: !40)<br>
+!62 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "c", line: 4, arg: 3, scope: !0, file: !1, type: !13, inlinedAt: !40)<br>
+<br>
 !14 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "ptr", line: 11, arg: 1, scope: !6, file: !1, type: !9)<br>
 !15 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "val", line: 11, arg: 2, scope: !6, file: !1, type: !11)<br>
 !16 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "c", line: 11, arg: 3, scope: !6, file: !1, type: !13)<br>
<br>
Modified: llvm/trunk/test/DebugInfo/2010-05-03-OriginDIE.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-05-03-OriginDIE.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-05-03-OriginDIE.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/2010-05-03-OriginDIE.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/2010-05-03-OriginDIE.ll Fri Apr  3 11:54:30 2015<br>
@@ -58,7 +58,7 @@ declare void @uuid_LtoB(i8*, i8*)<br>
 !5 = !MDSubroutineType(types: !6)<br>
 !6 = !{null}<br>
 !7 = !MDLocation(line: 810, scope: !1)<br>
-!8 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "data", line: 201, arg: 0, scope: !9, file: !10, type: !11)<br>
+!8 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "data", line: 201, arg: 0, scope: !9, file: !10, type: !11, inlinedAt: !7)<br>
 !9 = !MDSubprogram(name: "_OSSwapInt64", linkageName: "_OSSwapInt64", line: 202, isLocal: true, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !10, scope: null, type: !5)<br>
 !10 = !MDFile(filename: "OSByteOrder.h", directory: "/usr/include/libkern/ppc")<br>
 !11 = !MDDerivedType(tag: DW_TAG_typedef, name: "uint64_t", line: 59, file: !36, scope: !3, baseType: !13)<br>
<br>
Modified: llvm/trunk/test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll Fri Apr  3 11:54:30 2015<br>
@@ -15,8 +15,8 @@ declare void @llvm.dbg.value(metadata, i<br>
 define i32 @bar() nounwind ssp {<br>
 entry:<br>
   %0 = load i32, i32* @i, align 4, !dbg !17            ; <i32> [#uses=2]<br>
-  tail call void @llvm.dbg.value(metadata i32 %0, i64 0, metadata !9, metadata !MDExpression()), !dbg !19<br>
-  tail call void @llvm.dbg.declare(metadata !29, metadata !10, metadata !MDExpression()), !dbg !21<br>
+  tail call void @llvm.dbg.value(metadata i32 %0, i64 0, metadata !59, metadata !MDExpression()), !dbg !19<br>
+  tail call void @llvm.dbg.declare(metadata !29, metadata !60, metadata !MDExpression()), !dbg !21<br>
   %1 = mul nsw i32 %0, %0, !dbg !22               ; <i32> [#uses=2]<br>
   store i32 %1, i32* @i, align 4, !dbg !17<br>
   ret i32 %1, !dbg !23<br>
@@ -36,6 +36,10 @@ entry:<br>
 !8 = !{!5}<br>
 !9 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "j", line: 9, arg: 0, scope: !0, file: !1, type: !5)<br>
 !10 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "xyz", line: 10, scope: !11, file: !1, type: !12)<br>
+<br>
+!59 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "j", line: 9, arg: 0, scope: !0, file: !1, type: !5, inlinedAt: !17)<br>
+!60 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "xyz", line: 10, scope: !11, file: !1, type: !12, inlinedAt: !17)<br>
+<br>
 !11 = distinct !MDLexicalBlock(line: 9, column: 0, file: !1, scope: !0)<br>
 !12 = !MDCompositeType(tag: DW_TAG_structure_type, name: "X", line: 10, size: 64, align: 32, file: !27, scope: !0, elements: !13)<br>
 !13 = !{!14, !15}<br>
<br>
Modified: llvm/trunk/test/DebugInfo/Mips/InlinedFnLocalVar.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/Mips/InlinedFnLocalVar.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/Mips/InlinedFnLocalVar.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/Mips/InlinedFnLocalVar.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/Mips/InlinedFnLocalVar.ll Fri Apr  3 11:54:30 2015<br>
@@ -15,8 +15,8 @@ declare void @llvm.dbg.value(metadata, i<br>
 define i32 @bar() nounwind ssp {<br>
 entry:<br>
   %0 = load i32, i32* @i, align 4, !dbg !17            ; <i32> [#uses=2]<br>
-  tail call void @llvm.dbg.value(metadata i32 %0, i64 0, metadata !9, metadata !MDExpression()), !dbg !19<br>
-  tail call void @llvm.dbg.declare(metadata !29, metadata !10, metadata !MDExpression()), !dbg !21<br>
+  tail call void @llvm.dbg.value(metadata i32 %0, i64 0, metadata !59, metadata !MDExpression()), !dbg !19<br>
+  tail call void @llvm.dbg.declare(metadata !29, metadata !60, metadata !MDExpression()), !dbg !21<br>
   %1 = mul nsw i32 %0, %0, !dbg !22               ; <i32> [#uses=2]<br>
   store i32 %1, i32* @i, align 4, !dbg !17<br>
   ret i32 %1, !dbg !23<br>
@@ -36,6 +36,10 @@ entry:<br>
 !8 = !{!5}<br>
 !9 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "j", line: 9, arg: 0, scope: !0, file: !1, type: !5)<br>
 !10 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "xyz", line: 10, scope: !11, file: !1, type: !12)<br>
+<br>
+!59 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "j", line: 9, arg: 0, scope: !0, file: !1, type: !5, inlinedAt: !17)<br>
+!60 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "xyz", line: 10, scope: !11, file: !1, type: !12, inlinedAt: !17)<br>
+<br>
 !11 = distinct !MDLexicalBlock(line: 9, column: 0, file: !1, scope: !0)<br>
 !12 = !MDCompositeType(tag: DW_TAG_structure_type, name: "X", line: 10, size: 64, align: 32, file: !27, scope: !0, elements: !13)<br>
 !13 = !{!14, !15}<br>
<br>
Modified: llvm/trunk/test/DebugInfo/PR20038.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/PR20038.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/PR20038.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/PR20038.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/PR20038.ll Fri Apr  3 11:54:30 2015<br>
@@ -74,10 +74,10 @@ land.end:<br>
<br>
 cleanup.action:                                   ; preds = %land.end<br>
   store %struct.C* %agg.tmp.ensured, %struct.C** %this.addr.i, align 8, !dbg !22<br>
-  call void @llvm.dbg.declare(metadata %struct.C** %this.addr.i, metadata !29, metadata !MDExpression()), !dbg !31<br>
+  call void @llvm.dbg.declare(metadata %struct.C** %this.addr.i, metadata !129, metadata !MDExpression()), !dbg !31<br>
   %this1.i = load %struct.C*, %struct.C** %this.addr.i, !dbg !22<br>
   store %struct.C* %this1.i, %struct.C** %this.addr.i.i, align 8, !dbg !21<br>
-  call void @llvm.dbg.declare(metadata %struct.C** %this.addr.i.i, metadata !32, metadata !MDExpression()), !dbg !33<br>
+  call void @llvm.dbg.declare(metadata %struct.C** %this.addr.i.i, metadata !132, metadata !MDExpression()), !dbg !33<br>
   %this1.i.i = load %struct.C*, %struct.C** %this.addr.i.i, !dbg !21<br>
   br label %cleanup.done, !dbg !22<br>
<br>
@@ -94,7 +94,7 @@ entry:<br>
   call void @llvm.dbg.declare(metadata %struct.C** %this.addr, metadata !29, metadata !MDExpression()), !dbg !38<br>
   %this1 = load %struct.C*, %struct.C** %this.addr<br>
   store %struct.C* %this1, %struct.C** %this.addr.i, align 8, !dbg !37<br>
-  call void @llvm.dbg.declare(metadata %struct.C** %this.addr.i, metadata !32, metadata !MDExpression()), !dbg !39<br>
+  call void @llvm.dbg.declare(metadata %struct.C** %this.addr.i, metadata !232, metadata !MDExpression()), !dbg !39<br>
   %this1.i = load %struct.C*, %struct.C** %this.addr.i, !dbg !37<br>
   ret void, !dbg !37<br>
 }<br>
@@ -154,6 +154,11 @@ attributes #2 = { nounwind readnone }<br>
 !31 = !MDLocation(line: 0, scope: !17, inlinedAt: !22)<br>
 !32 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !16, type: !30)<br>
 !33 = !MDLocation(line: 0, scope: !16, inlinedAt: !21)<br>
+<br>
+!129 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !17, type: !30, inlinedAt: !22)<br>
+!132 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !16, type: !30, inlinedAt: !21)<br>
+!232 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !16, type: !30, inlinedAt: !37)<br>
+<br>
 !34 = !MDLocation(line: 5, scope: !35)<br>
 !35 = distinct !MDLexicalBlock(line: 5, column: 0, file: !5, scope: !36)<br>
 !36 = distinct !MDLexicalBlock(line: 5, column: 0, file: !5, scope: !12)<br>
<br>
Modified: llvm/trunk/test/DebugInfo/X86/InlinedFnLocalVar.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/InlinedFnLocalVar.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/InlinedFnLocalVar.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/X86/InlinedFnLocalVar.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/X86/InlinedFnLocalVar.ll Fri Apr  3 11:54:30 2015<br>
@@ -15,8 +15,8 @@ declare void @llvm.dbg.value(metadata, i<br>
 define i32 @bar() nounwind ssp {<br>
 entry:<br>
   %0 = load i32, i32* @i, align 4, !dbg !17            ; <i32> [#uses=2]<br>
-  tail call void @llvm.dbg.value(metadata i32 %0, i64 0, metadata !9, metadata !MDExpression()), !dbg !19<br>
-  tail call void @llvm.dbg.declare(metadata !29, metadata !10, metadata !MDExpression()), !dbg !21<br>
+  tail call void @llvm.dbg.value(metadata i32 %0, i64 0, metadata !109, metadata !MDExpression()), !dbg !19<br>
+  tail call void @llvm.dbg.declare(metadata !29, metadata !110, metadata !MDExpression()), !dbg !21<br>
   %1 = mul nsw i32 %0, %0, !dbg !22               ; <i32> [#uses=2]<br>
   store i32 %1, i32* @i, align 4, !dbg !17<br>
   ret i32 %1, !dbg !23<br>
@@ -36,6 +36,10 @@ entry:<br>
 !8 = !{!5}<br>
 !9 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "j", line: 9, arg: 0, scope: !0, file: !1, type: !5)<br>
 !10 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "xyz", line: 10, scope: !11, file: !1, type: !12)<br>
+<br>
+!109 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "j", line: 9, arg: 0, scope: !0, file: !1, type: !5, inlinedAt: !17)<br>
+!110 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "xyz", line: 10, scope: !11, file: !1, type: !12, inlinedAt: !17)<br>
+<br>
 !11 = distinct !MDLexicalBlock(line: 9, column: 0, file: !1, scope: !0)<br>
 !12 = !MDCompositeType(tag: DW_TAG_structure_type, name: "X", line: 10, size: 64, align: 32, file: !27, scope: !0, elements: !13)<br>
 !13 = !{!14, !15}<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=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/dbg-value-inlined-parameter.ll?rev=234021&r1=234020&r2=234021&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 Fri Apr  3 11:54:30 2015<br>
@@ -61,8 +61,8 @@ declare float* @bar(i32) optsize<br>
<br>
 define void @foobar() nounwind optsize ssp {<br>
 entry:<br>
-  tail call void @llvm.dbg.value(metadata %struct.S1* @p, i64 0, metadata !9, metadata !MDExpression()) nounwind, !dbg !31<br>
-  tail call void @llvm.dbg.value(metadata i32 1, i64 0, metadata !18, metadata !MDExpression()) nounwind, !dbg !35<br>
+  tail call void @llvm.dbg.value(metadata %struct.S1* @p, i64 0, metadata !109, metadata !MDExpression()) nounwind, !dbg !31<br>
+  tail call void @llvm.dbg.value(metadata i32 1, i64 0, metadata !118, metadata !MDExpression()) nounwind, !dbg !35<br>
   store i32 1, i32* getelementptr inbounds (%struct.S1, %struct.S1* @p, i64 0, i32 1), align 8, !dbg !36<br>
   %call.i = tail call float* @bar(i32 1) nounwind optsize, !dbg !37<br>
   store float* %call.i, float** getelementptr inbounds (%struct.S1, %struct.S1* @p, i64 0, i32 0), align 8, !dbg !37<br>
@@ -83,7 +83,10 @@ declare void @llvm.dbg.value(metadata, i<br>
 !6 = !MDSubprogram(name: "foobar", line: 15, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: true, file: !1, scope: !1, type: !7, function: void ()* @foobar)<br>
 !7 = !MDSubroutineType(types: !8)<br>
 !8 = !{null}<br>
-!9 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "sp", line: 7, arg: 1, scope: !0, file: !1, type: !10, inlinedAt: !32)<br>
+!9 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "sp", line: 7, arg: 1, scope: !0, file: !1, type: !10)<br>
+<br>
+!109 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "sp", line: 7, arg: 1, scope: !0, file: !1, type: !10, inlinedAt: !32)<br>
+<br>
 !10 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, scope: !2, baseType: !11)<br>
 !11 = !MDDerivedType(tag: DW_TAG_typedef, name: "S1", line: 4, file: !42, scope: !2, baseType: !12)<br>
 !12 = !MDCompositeType(tag: DW_TAG_structure_type, name: "S1", line: 1, size: 128, align: 64, file: !42, scope: !2, elements: !13)<br>
@@ -92,7 +95,10 @@ declare void @llvm.dbg.value(metadata, i<br>
 !15 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, scope: !2, baseType: !16)<br>
 !16 = !MDBasicType(tag: DW_TAG_base_type, name: "float", size: 32, align: 32, encoding: DW_ATE_float)<br>
 !17 = !MDDerivedType(tag: DW_TAG_member, name: "nums", line: 3, size: 32, align: 32, offset: 64, file: !42, scope: !1, baseType: !5)<br>
-!18 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "nums", line: 7, arg: 2, scope: !0, file: !1, type: !5, inlinedAt: !32)<br>
+!18 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "nums", line: 7, arg: 2, scope: !0, file: !1, type: !5)<br>
+<br>
+!118 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "nums", line: 7, arg: 2, scope: !0, file: !1, type: !5, inlinedAt: !32)<br>
+<br>
 !19 = !MDGlobalVariable(name: "p", line: 14, isLocal: false, isDefinition: true, scope: !2, file: !1, type: !11, variable: %struct.S1* @p)<br>
 !20 = !MDLocation(line: 7, column: 13, scope: !0)<br>
 !21 = !MDLocation(line: 7, column: 21, scope: !0)<br>
<br>
Modified: llvm/trunk/test/DebugInfo/X86/inline-member-function.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/inline-member-function.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/inline-member-function.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/X86/inline-member-function.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/X86/inline-member-function.ll Fri Apr  3 11:54:30 2015<br>
@@ -88,8 +88,8 @@ attributes #1 = { nounwind readnone }<br>
 !21 = !{i32 1, !"Debug Info Version", i32 3}<br>
 !22 = !{!"clang version 3.5.0 "}<br>
 !23 = !MDLocation(line: 8, scope: !13)<br>
-!24 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !17, type: !25)<br>
+!24 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !17, type: !25, inlinedAt: !23)<br>
 !25 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !"_ZTS3foo")<br>
 !26 = !MDLocation(line: 0, scope: !17, inlinedAt: !23)<br>
-!27 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 2, arg: 2, scope: !17, file: !14, type: !9)<br>
+!27 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 2, arg: 2, scope: !17, file: !14, type: !9, inlinedAt: !23)<br>
 !28 = !MDLocation(line: 2, scope: !17, inlinedAt: !23)<br>
<br>
Modified: llvm/trunk/test/DebugInfo/X86/inline-seldag-test.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/inline-seldag-test.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/inline-seldag-test.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/X86/inline-seldag-test.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/X86/inline-seldag-test.ll Fri Apr  3 11:54:30 2015<br>
@@ -67,7 +67,7 @@ attributes #1 = { nounwind readnone }<br>
 !16 = !MDDerivedType(tag: DW_TAG_volatile_type, baseType: !11)<br>
 !17 = !MDLocation(line: 5, scope: !4)<br>
 !18 = !MDLocation(line: 6, column: 7, scope: !4)<br>
-!19 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "y", line: 1, arg: 1, scope: !8, file: !5, type: !11)<br>
+!19 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "y", line: 1, arg: 1, scope: !8, file: !5, type: !11, inlinedAt: !18)<br>
 !20 = !MDLocation(line: 1, scope: !8, inlinedAt: !18)<br>
 !21 = !MDLocation(line: 2, scope: !8, inlinedAt: !18)<br>
 !22 = !MDLocation(line: 7, scope: !4)<br>
<br>
Modified: llvm/trunk/test/DebugInfo/cross-cu-inlining.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/cross-cu-inlining.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/cross-cu-inlining.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/cross-cu-inlining.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/cross-cu-inlining.ll Fri Apr  3 11:54:30 2015<br>
@@ -75,7 +75,7 @@ entry:<br>
   %1 = bitcast i32* %x.addr.i to i8*<br>
   call void @llvm.lifetime.start(i64 4, i8* %1)<br>
   store i32 %0, i32* %x.addr.i, align 4<br>
-  call void @llvm.dbg.declare(metadata i32* %x.addr.i, metadata !20, metadata !MDExpression()), !dbg !21<br>
+  call void @llvm.dbg.declare(metadata i32* %x.addr.i, metadata !120, metadata !MDExpression()), !dbg !21<br>
   %2 = load i32, i32* %x.addr.i, align 4, !dbg !22<br>
   %mul.i = mul nsw i32 %2, 2, !dbg !22<br>
   %3 = bitcast i32* %x.addr.i to i8*, !dbg !22<br>
@@ -133,6 +133,9 @@ attributes #3 = { nounwind }<br>
 !18 = !{!"clang version 3.5.0 "}<br>
 !19 = !MDLocation(line: 4, scope: !4)<br>
 !20 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 1, arg: 1, scope: !12, file: !13, type: !8)<br>
+<br>
+!120 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 1, arg: 1, scope: !12, file: !13, type: !8, inlinedAt: !19)<br>
+<br>
 !21 = !MDLocation(line: 1, scope: !12, inlinedAt: !19)<br>
 !22 = !MDLocation(line: 2, scope: !12, inlinedAt: !19)<br>
 !23 = !MDLocation(line: 1, scope: !12)<br>
<br>
Modified: llvm/trunk/test/DebugInfo/inline-scopes.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/inline-scopes.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/inline-scopes.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/inline-scopes.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/inline-scopes.ll Fri Apr  3 11:54:30 2015<br>
@@ -111,7 +111,7 @@ attributes #2 = { "less-precise-fpmad"="<br>
 !13 = !{i32 2, !"Dwarf Version", i32 4}<br>
 !14 = !{i32 1, !"Debug Info Version", i32 3}<br>
 !15 = !{!"clang version 3.5.0 "}<br>
-!16 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "b", line: 3, scope: !17, file: !11, type: !18)<br>
+!16 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "b", line: 3, scope: !17, file: !11, type: !18, inlinedAt: !20)<br>
 !17 = distinct !MDLexicalBlock(line: 3, column: 0, file: !1, scope: !12)<br>
 !18 = !MDBasicType(tag: DW_TAG_base_type, name: "bool", size: 8, align: 8, encoding: DW_ATE_boolean)<br>
 !19 = !MDLocation(line: 3, scope: !17, inlinedAt: !20)<br>
@@ -119,7 +119,7 @@ attributes #2 = { "less-precise-fpmad"="<br>
 !21 = !MDLocation(line: 4, scope: !17, inlinedAt: !20)<br>
 !22 = !MDLocation(line: 5, scope: !12, inlinedAt: !20)<br>
 !23 = !MDLocation(line: 6, scope: !12, inlinedAt: !20)<br>
-!24 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "b", line: 2, scope: !25, file: !6, type: !18)<br>
+!24 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "b", line: 2, scope: !25, file: !6, type: !18, inlinedAt: !28)<br>
 !25 = distinct !MDLexicalBlock(line: 2, column: 0, file: !5, scope: !26)<br>
 !26 = !MDLexicalBlockFile(discriminator: 0, file: !5, scope: !10)<br>
 !27 = !MDLocation(line: 2, scope: !25, inlinedAt: !28)<br>
<br>
Modified: llvm/trunk/test/DebugInfo/namespace_inline_function_definition.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/namespace_inline_function_definition.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/namespace_inline_function_definition.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/namespace_inline_function_definition.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/namespace_inline_function_definition.ll Fri Apr  3 11:54:30 2015<br>
@@ -42,7 +42,7 @@ entry:<br>
   store i32 0, i32* %retval<br>
   %0 = load i32, i32* @x, align 4, !dbg !16<br>
   store i32 %0, i32* %i.addr.i, align 4<br>
-  call void @llvm.dbg.declare(metadata i32* %i.addr.i, metadata !17, metadata !MDExpression()), !dbg !18<br>
+  call void @llvm.dbg.declare(metadata i32* %i.addr.i, metadata !117, metadata !MDExpression()), !dbg !18<br>
   %1 = load i32, i32* %i.addr.i, align 4, !dbg !18<br>
   %mul.i = mul nsw i32 %1, 2, !dbg !18<br>
   ret i32 %mul.i, !dbg !16<br>
@@ -88,5 +88,8 @@ attributes #2 = { nounwind readnone }<br>
 !15 = !{!"clang version 3.5.0 "}<br>
 !16 = !MDLocation(line: 5, scope: !4)<br>
 !17 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "i", line: 6, arg: 1, scope: !9, file: !5, type: !8)<br>
+<br>
+!117 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "i", line: 6, arg: 1, scope: !9, file: !5, type: !8, inlinedAt: !16)<br>
+<br>
 !18 = !MDLocation(line: 6, scope: !9, inlinedAt: !16)<br>
 !19 = !MDLocation(line: 6, scope: !9)<br>
<br>
Modified: llvm/trunk/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll?rev=234021&r1=234020&r2=234021&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll?rev=234021&r1=234020&r2=234021&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll (original)<br>
+++ llvm/trunk/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll Fri Apr  3 11:54:30 2015<br>
@@ -41,15 +41,15 @@ return:<br>
 !6 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)<br>
 !7 = !MDLocation(line: 8, scope: !1)<br>
 !8 = !MDLocation(line: 9, scope: !1)<br>
-!9 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 4, arg: 0, scope: !10, file: !2, type: !6)<br>
+!9 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 4, arg: 0, scope: !10, file: !2, type: !6, inlinedAt: !8)<br>
 !10 = !MDSubprogram(name: "bar", linkageName: "bar", line: 4, isLocal: true, isDefinition: true, virtualIndex: 6, isOptimized: false, scopeLine: 4, file: !20, scope: !2, type: !11)<br>
 !11 = !MDSubroutineType(types: !12)<br>
 !12 = !{null, !6, !13, !14}<br>
 !13 = !MDBasicType(tag: DW_TAG_base_type, name: "long int", size: 64, align: 64, encoding: DW_ATE_signed)<br>
 !14 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, file: !20, scope: !2, baseType: null)<br>
 !15 = !MDLocation(line: 4, scope: !10, inlinedAt: !8)<br>
-!16 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "y", line: 4, arg: 0, scope: !10, file: !2, type: !13)<br>
-!17 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "z", line: 4, arg: 0, scope: !10, file: !2, type: !14)<br>
+!16 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "y", line: 4, arg: 0, scope: !10, file: !2, type: !13, inlinedAt: !8)<br>
+!17 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "z", line: 4, arg: 0, scope: !10, file: !2, type: !14, inlinedAt: !8)<br>
 !18 = !MDLocation(line: 5, scope: !10, inlinedAt: !8)<br>
 !19 = !MDLocation(line: 10, scope: !1)<br>
 !20 = !MDFile(filename: "bar.c", directory: "/tmp/")<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" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div></div>