IR: Move MDLocation into place

This commit moves `MDLocation`, finishing off PR21433.  There's an
accompanying clang commit for frontend testcases.  I'll attach the
testcase upgrade script I used to PR21433 to help out-of-tree
frontends/backends.

This changes the schema for `DebugLoc` and `DILocation` from:

    !{i32 3, i32 7, !7, !8}

to:

    !MDLocation(line: 3, column: 7, scope: !7, inlinedAt: !8)

Note that empty fields (line/column: 0 and inlinedAt: null) don't get
printed by the assembly writer.

llvm-svn: 226048
This commit is contained in:
Duncan P. N. Exon Smith 2015-01-14 22:27:36 +00:00
parent 96a319588a
commit 9885469922
299 changed files with 1587 additions and 1580 deletions

View File

@ -877,10 +877,26 @@ class DILocation : public DIDescriptor {
public:
explicit DILocation(const MDNode *N) : DIDescriptor(N) {}
unsigned getLineNumber() const { return getUnsignedField(0); }
unsigned getColumnNumber() const { return getUnsignedField(1); }
DIScope getScope() const { return getFieldAs<DIScope>(2); }
DILocation getOrigLocation() const { return getFieldAs<DILocation>(3); }
unsigned getLineNumber() const {
if (auto *L = dyn_cast_or_null<MDLocation>(DbgNode))
return L->getLine();
return 0;
}
unsigned getColumnNumber() const {
if (auto *L = dyn_cast_or_null<MDLocation>(DbgNode))
return L->getColumn();
return 0;
}
DIScope getScope() const {
if (auto *L = dyn_cast_or_null<MDLocation>(DbgNode))
return DIScope(dyn_cast_or_null<MDNode>(L->getScope()));
return DIScope(nullptr);
}
DILocation getOrigLocation() const {
if (auto *L = dyn_cast_or_null<MDLocation>(DbgNode))
return DILocation(dyn_cast_or_null<MDNode>(L->getInlinedAt()));
return DILocation(nullptr);
}
StringRef getFilename() const { return getScope().getFilename(); }
StringRef getDirectory() const { return getScope().getDirectory(); }
bool Verify() const;
@ -901,7 +917,9 @@ public:
// sure this location is a lexical block before retrieving its
// value.
return getScope().isLexicalBlockFile()
? getFieldAs<DILexicalBlockFile>(2).getDiscriminator()
? DILexicalBlockFile(
cast<MDNode>(cast<MDLocation>(DbgNode)->getScope()))
.getDiscriminator()
: 0;
}

View File

@ -592,10 +592,7 @@ bool DIExpression::Verify() const {
}
bool DILocation::Verify() const {
if (!DbgNode)
return false;
return DbgNode->getNumOperands() == 4;
return DbgNode && isa<MDLocation>(DbgNode);
}
bool DINameSpace::Verify() const {
@ -830,16 +827,12 @@ void DICompileUnit::replaceGlobalVariables(DIArray GlobalVariables) {
DILocation DILocation::copyWithNewScope(LLVMContext &Ctx,
DILexicalBlockFile NewScope) {
SmallVector<Metadata *, 10> Elts;
assert(Verify());
for (unsigned I = 0; I < DbgNode->getNumOperands(); ++I) {
if (I != 2)
Elts.push_back(DbgNode->getOperand(I));
else
Elts.push_back(NewScope);
}
MDNode *NewDIL = MDNode::get(Ctx, Elts);
return DILocation(NewDIL);
assert(NewScope && "Expected valid scope");
const auto *Old = cast<MDLocation>(DbgNode);
return DILocation(MDLocation::get(Ctx, Old->getLine(), Old->getColumn(),
NewScope, Old->getInlinedAt()));
}
unsigned DILocation::computeNewDiscriminator(LLVMContext &Ctx) {

View File

@ -58,12 +58,8 @@ DebugLoc DebugLoc::get(unsigned Line, unsigned Col,
if (Col > 255) Col = 0;
if (Line >= (1 << 24)) Line = 0;
LLVMContext &Context = Scope->getContext();
Type *Int32 = Type::getInt32Ty(Context);
Metadata *Elts[] = {ConstantAsMetadata::get(ConstantInt::get(Int32, Line)),
ConstantAsMetadata::get(ConstantInt::get(Int32, Col)),
Scope, InlinedAt};
return getFromDILocation(MDNode::get(Context, Elts));
return getFromDILocation(
MDLocation::get(Scope->getContext(), Line, Col, Scope, InlinedAt));
}
/// getAsMDNode - This method converts the compressed DebugLoc node into a

View File

@ -35,7 +35,7 @@ entry:
!llvm.module.flags = !{!4}
!0 = !{i32 662302, i32 26, !1, null}
!0 = !MDLocation(line: 662302, column: 26, scope: !1)
!1 = !{i32 4, !"foo"}
!2 = !{!"bar"}
!3 = !{!"foo"}
@ -49,7 +49,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
; CHECK: !foo = !{![[FOO]]}
; CHECK: !bar = !{![[BAR]]}
; CHECK: ![[ID0]] = !{i32 662302, i32 26, ![[ID1]], null}
; CHECK: ![[ID0]] = !MDLocation(line: 662302, column: 26, scope: ![[ID1]])
; CHECK: ![[ID1]] = !{i32 4, !"foo"}
; CHECK: ![[ID2]] = !{!"bar"}
; CHECK: ![[ID3]] = !{!"foo"}

View File

@ -11,7 +11,7 @@ define void @test() {
ret void, !foo !0, !bar !1
}
!0 = !{i32 662302, i32 26, !1, null}
!0 = !MDLocation(line: 662302, column: 26, scope: !1)
!1 = !{i32 4, !"foo"}
declare void @llvm.dbg.func.start(metadata) nounwind readnone

View File

@ -1436,7 +1436,7 @@ let test_builder () =
* CHECK: !llvm.module.flags = !{!0}
* CHECK: !0 = !{i32 1, !"Debug Info Version", i32 2}
* CHECK: !1 = !{i32 1, !"metadata test"}
* CHECK: !2 = !{i32 2, i32 3, !3, !3}
* CHECK: !2 = !MDLocation(line: 2, column: 3, scope: !3, inlinedAt: !3)
*)
(*===-- Pass Managers -----------------------------------------------------===*)

View File

@ -22,7 +22,7 @@ entry:
!7 = !{!8}
!8 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed]
!9 = !{i32 2, !"Dwarf Version", i32 2}
!12 = !{i32 4, i32 0, !4, null}
!12 = !MDLocation(line: 4, scope: !4)
; WARN: warning: ignoring debug info with an invalid version (0)
; CHECK-NOT: !dbg

View File

@ -5,7 +5,7 @@
; Bugpoint should keep the call's metadata attached to the call.
; CHECK: call void @foo(), !dbg ![[LOC:[0-9]+]], !attach ![[CALL:[0-9]+]]
; CHECK: ![[LOC]] = !{i32 104, i32 105, ![[SCOPE:[0-9]+]], ![[SCOPE]]}
; CHECK: ![[LOC]] = !MDLocation(line: 104, column: 105, scope: ![[SCOPE:[0-9]+]], inlinedAt: ![[SCOPE]])
; CHECK: ![[SCOPE]] = !{!"0x11\000\00me\001\00\000\00\000", ![[FILE:[0-9]+]], ![[LIST:[0-9]+]], ![[LIST]], null, null, null}
; CHECK: ![[FILE]] = !{!"source.c", !"/dir"}
; CHECK: ![[LIST]] = !{i32 0}
@ -32,11 +32,11 @@ declare void @foo()
!4 = !{!"filler"}
!9 = !{!"0x11\000\00me\001\00\000\00\000", !15, !16, !16, null, null, null} ; [ DW_TAG_compile_unit ]
!10 = !{i32 100, i32 101, !9, !9}
!11 = !{i32 102, i32 103, !9, !9}
!12 = !{i32 104, i32 105, !9, !9}
!13 = !{i32 106, i32 107, !9, !9}
!14 = !{i32 108, i32 109, !9, !9}
!10 = !MDLocation(line: 100, column: 101, scope: !9, inlinedAt: !9)
!11 = !MDLocation(line: 102, column: 103, scope: !9, inlinedAt: !9)
!12 = !MDLocation(line: 104, column: 105, scope: !9, inlinedAt: !9)
!13 = !MDLocation(line: 106, column: 107, scope: !9, inlinedAt: !9)
!14 = !MDLocation(line: 108, column: 109, scope: !9, inlinedAt: !9)
!15 = !{!"source.c", !"/dir"}
!16 = !{i32 0}
!17 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -83,24 +83,24 @@ attributes #1 = { nounwind readnone }
!36 = !{i32 2, !"Dwarf Version", i32 4}
!37 = !{i32 2, !"Debug Info Version", i32 2}
!38 = !{!"clang version 3.6.0 "}
!39 = !{i32 154, i32 8, !40, null}
!39 = !MDLocation(line: 154, column: 8, scope: !40)
!40 = !{!"0xb\00154\008\002", !1, !41} ; [ DW_TAG_lexical_block ] [ ] []
!41 = !{!"0xb\00154\008\001", !1, !42} ; [ DW_TAG_lexical_block ] [ ] []
!42 = !{!"0xb\00154\003\000", !1, !4} ; [ DW_TAG_lexical_block ] [ ] []
!43 = !{i32 157, i32 5, !44, null}
!43 = !MDLocation(line: 157, column: 5, scope: !44)
!44 = !{!"0xb\00154\0042\000", !1, !42} ; [ DW_TAG_lexical_block ] [ ] []
!45 = !{i32 159, i32 5, !44, null}
!45 = !MDLocation(line: 159, column: 5, scope: !44)
!46 = !{!47, !47, i64 0}
!47 = !{!"int", !48, i64 0}
!48 = !{!"omnipotent char", !49, i64 0}
!49 = !{!"Simple C/C++ TBAA"}
!50 = !{i32 160, i32 5, !44, null}
!51 = !{i32 161, i32 5, !44, null}
!52 = !{i32 188, i32 5, !44, null}
!53 = !{i32 190, i32 5, !44, null}
!54 = !{i32 198, i32 5, !44, null}
!55 = !{i32 144, i32 13, !4, null}
!56 = !{i32 200, i32 5, !44, null}
!57 = !{i32 203, i32 5, !44, null}
!58 = !{i32 207, i32 5, !44, null}
!59 = !{i32 208, i32 5, !44, null}
!50 = !MDLocation(line: 160, column: 5, scope: !44)
!51 = !MDLocation(line: 161, column: 5, scope: !44)
!52 = !MDLocation(line: 188, column: 5, scope: !44)
!53 = !MDLocation(line: 190, column: 5, scope: !44)
!54 = !MDLocation(line: 198, column: 5, scope: !44)
!55 = !MDLocation(line: 144, column: 13, scope: !4)
!56 = !MDLocation(line: 200, column: 5, scope: !44)
!57 = !MDLocation(line: 203, column: 5, scope: !44)
!58 = !MDLocation(line: 207, column: 5, scope: !44)
!59 = !MDLocation(line: 208, column: 5, scope: !44)

View File

@ -34,12 +34,12 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!10 = !{!"0x2e\00print_double\00print_double\00\00203\001\001\000\006\00256\000\000", !20, !2, !4, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!11 = !{!"0x2e\00print_number\00print_number\00\0075\001\001\000\006\00256\000\000", !20, !2, !4, i32 0, null, null, null, null} ; [ DW_TAG_subprogram ]
!12 = !{!"0x2e\00get_flags\00get_flags\00\00508\001\001\000\006\00256\000\000", !20, !2, !8, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!13 = !{i32 653, i32 5, !14, null}
!13 = !MDLocation(line: 653, column: 5, scope: !14)
!14 = !{!"0xb\00652\0035\002", !20, !15} ; [ DW_TAG_lexical_block ]
!15 = !{!"0xb\00616\001\000", !20, !1} ; [ DW_TAG_lexical_block ]
!16 = !{!"0x100\00do_tab_convert\00853\000", !17, !2, !6} ; [ DW_TAG_auto_variable ]
!17 = !{!"0xb\00850\0012\0033", !20, !14} ; [ DW_TAG_lexical_block ]
!18 = !{i32 853, i32 11, !17, null}
!19 = !{i32 853, i32 29, !17, null}
!18 = !MDLocation(line: 853, column: 11, scope: !17)
!19 = !MDLocation(line: 853, column: 29, scope: !17)
!20 = !{!"print.i", !"/Volumes/Ebi/echeng/radars/r9146594"}
!21 = !{i32 0}

View File

@ -22,13 +22,13 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
declare i32 @foo(i32) ssp
!0 = !{i32 5, i32 2, !1, null}
!0 = !MDLocation(line: 5, column: 2, scope: !1)
!1 = !{!"0xb\001\001\000", null, !2}; [DW_TAG_lexical_block ]
!2 = !{!"0x2e\00bar\00bar\00bar\004\000\001\000\006\000\000\000", i32 0, !3, null, null, null, null, null, null}; [DW_TAG_subprogram ]
!3 = !{!"0x11\0012\00clang 1.1\001\00\000\00\000", !8, null, !9, null, null, null}; [DW_TAG_compile_unit ]
!4 = !{!"0x100\00count_\005\000", !5, !3, !6}; [ DW_TAG_auto_variable ]
!5 = !{!"0xb\001\001\000", null, !1}; [DW_TAG_lexical_block ]
!6 = !{!"0x24\00int\000\0032\0032\000\000\005", null, !3}; [DW_TAG_base_type ]
!7 = !{i32 6, i32 1, !2, null}
!7 = !MDLocation(line: 6, column: 1, scope: !2)
!8 = !{!"genmodes.i", !"/Users/yash/Downloads"}
!9 = !{i32 0}

View File

@ -24,9 +24,9 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!6 = !{!"0x16\00SItype\00152\000\000\000\000", !12, null, !8} ; [ DW_TAG_typedef ]
!7 = !{!"0x29", !"libgcc2.h", !"/Users/bwilson/local/nightly/test-2010-04-14/build/llvmgcc.roots/llvmgcc~obj/src/gcc", !3} ; [ DW_TAG_file_type ]
!8 = !{!"0x24\00int\000\0032\0032\000\000\005", !12, !2} ; [ DW_TAG_base_type ]
!9 = !{i32 95, i32 0, !10, null}
!9 = !MDLocation(line: 95, scope: !10)
!10 = !{!"0xb\0094\000\000", !12, !1} ; [ DW_TAG_lexical_block ]
!11 = !{i32 100, i32 0, !10, null}
!11 = !MDLocation(line: 100, scope: !10)
!13 = !{i32 0}
!14 = !{!1}
!15 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -62,15 +62,15 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!12 = !{!"0x100\00c\007\000", !11, !2, !13} ; [ DW_TAG_auto_variable ]
!13 = !{!"0x24\00int\000\0032\0032\000\000\005", !26, !2} ; [ DW_TAG_base_type ]
!14 = !{!"0x34\00length\00length\00length\001\000\001", !2, !2, !13, i32* @length} ; [ DW_TAG_variable ]
!15 = !{i32 4, i32 24, !1, null}
!16 = !{i32 4, i32 43, !1, null}
!17 = !{i32 9, i32 2, !11, null}
!15 = !MDLocation(line: 4, column: 24, scope: !1)
!16 = !MDLocation(line: 4, column: 43, scope: !1)
!17 = !MDLocation(line: 9, column: 2, scope: !11)
!18 = !{i32 0}
!19 = !{i32 10, i32 2, !11, null}
!20 = !{i32 11, i32 2, !11, null}
!21 = !{i32 12, i32 3, !22, null}
!19 = !MDLocation(line: 10, column: 2, scope: !11)
!20 = !MDLocation(line: 11, column: 2, scope: !11)
!21 = !MDLocation(line: 12, column: 3, scope: !22)
!22 = !{!"0xb\0011\0045\000", !26, !11} ; [ DW_TAG_lexical_block ]
!23 = !{i32 13, i32 3, !22, null}
!24 = !{i32 14, i32 2, !22, null}
!25 = !{i32 15, i32 1, !11, null}
!23 = !MDLocation(line: 13, column: 3, scope: !22)
!24 = !MDLocation(line: 14, column: 2, scope: !22)
!25 = !MDLocation(line: 15, column: 1, scope: !11)
!26 = !{!"t.c", !"/private/tmp"}

View File

@ -101,28 +101,28 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!21 = !{!"0x15\00\000\000\000\000\000\000", !48, null, null, !22, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!22 = !{!13}
!23 = !{!"0x101\00i\0016\000", !17, !2, !13} ; [ DW_TAG_arg_variable ]
!24 = !{i32 16, i32 0, !17, null}
!24 = !MDLocation(line: 16, scope: !17)
!25 = !{!"0x101\00location\0016\000", !17, !2, !26} ; [ DW_TAG_arg_variable ]
!26 = !{!"0x10\00SVal\000\0064\0064\000\000", !48, !2, !1} ; [ DW_TAG_reference_type ]
!27 = !{i32 17, i32 0, !28, null}
!27 = !MDLocation(line: 17, scope: !28)
!28 = !{!"0xb\0016\000\002", !2, !17} ; [ DW_TAG_lexical_block ]
!29 = !{i32 18, i32 0, !28, null}
!30 = !{i32 20, i32 0, !28, null}
!29 = !MDLocation(line: 18, scope: !28)
!30 = !MDLocation(line: 20, scope: !28)
!31 = !{!"0x101\00this\0011\000", !16, !2, !32} ; [ DW_TAG_arg_variable ]
!32 = !{!"0x26\00\000\0064\0064\000\0064", !48, !2, !33} ; [ DW_TAG_const_type ]
!33 = !{!"0xf\00\000\0064\0064\000\000", !48, !2, !1} ; [ DW_TAG_pointer_type ]
!34 = !{i32 11, i32 0, !16, null}
!35 = !{i32 11, i32 0, !36, null}
!34 = !MDLocation(line: 11, scope: !16)
!35 = !MDLocation(line: 11, scope: !36)
!36 = !{!"0xb\0011\000\001", !48, !37} ; [ DW_TAG_lexical_block ]
!37 = !{!"0xb\0011\000\000", !48, !16} ; [ DW_TAG_lexical_block ]
!38 = !{!"0x100\00v\0024\000", !39, !2, !1} ; [ DW_TAG_auto_variable ]
!39 = !{!"0xb\0023\000\004", !48, !40} ; [ DW_TAG_lexical_block ]
!40 = !{!"0xb\0023\000\003", !48, !20} ; [ DW_TAG_lexical_block ]
!41 = !{i32 24, i32 0, !39, null}
!42 = !{i32 25, i32 0, !39, null}
!43 = !{i32 26, i32 0, !39, null}
!41 = !MDLocation(line: 24, scope: !39)
!42 = !MDLocation(line: 25, scope: !39)
!43 = !MDLocation(line: 26, scope: !39)
!44 = !{!"0x100\00k\0026\000", !39, !2, !13} ; [ DW_TAG_auto_variable ]
!45 = !{i32 27, i32 0, !39, null}
!45 = !MDLocation(line: 27, scope: !39)
!46 = !{!16, !17, !20}
!47 = !{}
!48 = !{!"small.cc", !"/Users/manav/R8248330"}

View File

@ -108,16 +108,16 @@ entry:
!27 = !{!"0x101\00a\0016\000", !9, !1, !5} ; [ DW_TAG_arg_variable ]
!28 = !{!"0x100\00b\0016\000", !29, !1, !5} ; [ DW_TAG_auto_variable ]
!29 = !{!"0xb\0016\000\004", !47, !9} ; [ DW_TAG_lexical_block ]
!30 = !{i32 4, i32 0, !0, null}
!31 = !{i32 4, i32 0, !12, null}
!32 = !{i32 7, i32 0, !6, null}
!33 = !{i32 7, i32 0, !20, null}
!34 = !{i32 10, i32 0, !7, null}
!35 = !{i32 10, i32 0, !23, null}
!36 = !{i32 13, i32 0, !8, null}
!37 = !{i32 13, i32 0, !26, null}
!38 = !{i32 16, i32 0, !9, null}
!39 = !{i32 16, i32 0, !29, null}
!30 = !MDLocation(line: 4, scope: !0)
!31 = !MDLocation(line: 4, scope: !12)
!32 = !MDLocation(line: 7, scope: !6)
!33 = !MDLocation(line: 7, scope: !20)
!34 = !MDLocation(line: 10, scope: !7)
!35 = !MDLocation(line: 10, scope: !23)
!36 = !MDLocation(line: 13, scope: !8)
!37 = !MDLocation(line: 13, scope: !26)
!38 = !MDLocation(line: 16, scope: !9)
!39 = !MDLocation(line: 16, scope: !29)
!40 = !{!0, !6, !7, !8, !9}
!41 = !{!13, !14, !15, !16, !17}
!42 = !{!10, !11}

View File

@ -100,16 +100,16 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!27 = !{!"0x101\00a\0016777233\000", !9, !2, !5} ; [ DW_TAG_arg_variable ]
!28 = !{!"0x100\00b\0017\000", !29, !2, !5} ; [ DW_TAG_auto_variable ]
!29 = !{!"0xb\0017\0019\004", !47, !9} ; [ DW_TAG_lexical_block ]
!30 = !{i32 5, i32 16, !1, null}
!31 = !{i32 5, i32 32, !12, null}
!32 = !{i32 8, i32 14, !6, null}
!33 = !{i32 8, i32 29, !15, null}
!34 = !{i32 11, i32 16, !7, null}
!35 = !{i32 11, i32 32, !18, null}
!36 = !{i32 14, i32 16, !8, null}
!37 = !{i32 14, i32 32, !21, null}
!38 = !{i32 17, i32 16, !9, null}
!39 = !{i32 17, i32 32, !29, null}
!30 = !MDLocation(line: 5, column: 16, scope: !1)
!31 = !MDLocation(line: 5, column: 32, scope: !12)
!32 = !MDLocation(line: 8, column: 14, scope: !6)
!33 = !MDLocation(line: 8, column: 29, scope: !15)
!34 = !MDLocation(line: 11, column: 16, scope: !7)
!35 = !MDLocation(line: 11, column: 32, scope: !18)
!36 = !MDLocation(line: 14, column: 16, scope: !8)
!37 = !MDLocation(line: 14, column: 32, scope: !21)
!38 = !MDLocation(line: 17, column: 16, scope: !9)
!39 = !MDLocation(line: 17, column: 32, scope: !29)
!40 = !{!1, !6, !7, !8, !9}
!41 = !{!25, !26}
!42 = !{!10, !11}

View File

@ -100,12 +100,12 @@ attributes #3 = { nounwind }
!18 = !{!"0x34\00b\00b\00\002\000\001", null, !5, !8, i32* @b, null} ; [ DW_TAG_variable ] [b] [line 2] [def]
!19 = !{!"0x34\00c\00c\00\003\000\001", null, !5, !8, i32* @c, null} ; [ DW_TAG_variable ] [c] [line 3] [def]
!20 = !{!"0x34\00d\00d\00\004\000\001", null, !5, !8, i32* @d, null} ; [ DW_TAG_variable ] [d] [line 4] [def]
!21 = !{i32 10, i32 0, !22, null}
!21 = !MDLocation(line: 10, scope: !22)
!22 = !{!"0xb\0010\000\000", !1, !4} ; [ DW_TAG_lexical_block ] [/d/b/pr16110.c]
!26 = !{i32 12, i32 0, !13, null}
!26 = !MDLocation(line: 12, scope: !13)
!27 = !{i32* null}
!28 = !{i32 13, i32 0, !12, null}
!29 = !{i32 14, i32 0, !12, null}
!31 = !{i32 16, i32 0, !4, null}
!32 = !{i32 18, i32 0, !4, null}
!28 = !MDLocation(line: 13, scope: !12)
!29 = !MDLocation(line: 14, scope: !12)
!31 = !MDLocation(line: 16, scope: !4)
!32 = !MDLocation(line: 18, scope: !4)
!33 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -38,7 +38,7 @@
!10 = !{i32 1, !"Debug Info Version", i32 2}
!11 = !{!"clang version 3.5 "}
!12 = !{!"0x101\00count\0016777221\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [count] [line 5]
!13 = !{i32 5, i32 0, !4, null}
!13 = !MDLocation(line: 5, scope: !4)
!14 = !{!"0x100\00vl\006\000", !4, !5, !15} ; [ DW_TAG_auto_variable ] [vl] [line 6]
!15 = !{!"0x16\00va_list\0030\000\000\000\000", !16, null, !17} ; [ DW_TAG_typedef ] [va_list] [line 30, size 0, align 0, offset 0] [from __builtin_va_list]
!16 = !{!"/linux-x86_64-high/gcc_4.7.2/dbg/llvm/bin/../lib/clang/3.5/include/stdarg.h", !"/tmp"}
@ -47,18 +47,18 @@
!19 = !{!20}
!20 = !{!"0xd\00__ap\006\0032\0032\000\000", !1, !18, !21} ; [ DW_TAG_member ] [__ap] [line 6, size 32, align 32, offset 0] [from ]
!21 = !{!"0xf\00\000\0032\0032\000\000", null, null, null} ; [ DW_TAG_pointer_type ] [line 0, size 32, align 32, offset 0] [from ]
!22 = !{i32 6, i32 0, !4, null}
!23 = !{i32 7, i32 0, !4, null}
!22 = !MDLocation(line: 6, scope: !4)
!23 = !MDLocation(line: 7, scope: !4)
!24 = !{!"0x100\00sum\008\000", !4, !5, !8} ; [ DW_TAG_auto_variable ] [sum] [line 8]
!25 = !{i32 8, i32 0, !4, null}
!25 = !MDLocation(line: 8, scope: !4)
!26 = !{!"0x100\00i\009\000", !27, !5, !8} ; [ DW_TAG_auto_variable ] [i] [line 9]
!27 = !{!"0xb\009\000\000", !1, !4} ; [ DW_TAG_lexical_block ] [/tmp/var.c]
!28 = !{i32 9, i32 0, !27, null}
!29 = !{i32 10, i32 0, !30, null}
!28 = !MDLocation(line: 9, scope: !27)
!29 = !MDLocation(line: 10, scope: !30)
!30 = !{!"0xb\009\000\001", !1, !27} ; [ DW_TAG_lexical_block ] [/tmp/var.c]
!31 = !{i32 11, i32 0, !30, null}
!32 = !{i32 12, i32 0, !4, null}
!33 = !{i32 13, i32 0, !4, null}
!31 = !MDLocation(line: 11, scope: !30)
!32 = !MDLocation(line: 12, scope: !4)
!33 = !MDLocation(line: 13, scope: !4)
; CHECK-FP-LABEL: sum
; CHECK-FP: .cfi_startproc

View File

@ -142,27 +142,27 @@ declare void @_ZSt9terminatev()
!11 = !{i32 1, !"Debug Info Version", i32 2}
!12 = !{!"clang version 3.5 "}
!13 = !{!"0x101\00a\0016777220\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [a] [line 4]
!14 = !{i32 4, i32 0, !4, null}
!14 = !MDLocation(line: 4, scope: !4)
!15 = !{!"0x101\00b\0033554436\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [b] [line 4]
!16 = !{!"0x101\00c\0050331652\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [c] [line 4]
!17 = !{!"0x101\00d\0067108868\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [d] [line 4]
!18 = !{!"0x101\00e\0083886084\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [e] [line 4]
!19 = !{!"0x101\00m\00100663301\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [m] [line 5]
!20 = !{i32 5, i32 0, !4, null}
!20 = !MDLocation(line: 5, scope: !4)
!21 = !{!"0x101\00n\00117440517\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [n] [line 5]
!22 = !{!"0x101\00p\00134217733\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [p] [line 5]
!23 = !{!"0x101\00q\00150994949\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [q] [line 5]
!24 = !{!"0x101\00r\00167772165\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [r] [line 5]
!25 = !{i32 7, i32 0, !26, null}
!25 = !MDLocation(line: 7, scope: !26)
!26 = !{!"0xb\006\000\000", !1, !4} ; [ DW_TAG_lexical_block ] [/tmp/exp.cpp]
!27 = !{i32 8, i32 0, !26, null}
!28 = !{i32 11, i32 0, !26, null}
!29 = !{i32 9, i32 0, !30, null}
!27 = !MDLocation(line: 8, scope: !26)
!28 = !MDLocation(line: 11, scope: !26)
!29 = !MDLocation(line: 9, scope: !30)
!30 = !{!"0xb\008\000\001", !1, !4} ; [ DW_TAG_lexical_block ] [/tmp/exp.cpp]
!31 = !{i32 10, i32 0, !30, null}
!32 = !{i32 10, i32 0, !4, null}
!33 = !{i32 11, i32 0, !4, null}
!34 = !{i32 11, i32 0, !30, null}
!31 = !MDLocation(line: 10, scope: !30)
!32 = !MDLocation(line: 10, scope: !4)
!33 = !MDLocation(line: 11, scope: !4)
!34 = !MDLocation(line: 11, scope: !30)
; CHECK-FP-LABEL: _Z4testiiiiiddddd:
; CHECK-FP: .cfi_startproc

View File

@ -52,16 +52,16 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!17 = !{!"0x101\00y\0067108875\000", !1, !2, !15} ; [ DW_TAG_arg_variable ]
!18 = !{!"0x101\00ptr1\0083886091\000", !1, !2, !6} ; [ DW_TAG_arg_variable ]
!19 = !{!"0x101\00ptr2\00100663307\000", !1, !2, !6} ; [ DW_TAG_arg_variable ]
!20 = !{i32 11, i32 24, !1, null}
!21 = !{i32 11, i32 44, !1, null}
!22 = !{i32 11, i32 54, !1, null}
!23 = !{i32 11, i32 64, !1, null}
!24 = !{i32 11, i32 81, !1, null}
!25 = !{i32 11, i32 101, !1, null}
!26 = !{i32 12, i32 3, !27, null}
!20 = !MDLocation(line: 11, column: 24, scope: !1)
!21 = !MDLocation(line: 11, column: 44, scope: !1)
!22 = !MDLocation(line: 11, column: 54, scope: !1)
!23 = !MDLocation(line: 11, column: 64, scope: !1)
!24 = !MDLocation(line: 11, column: 81, scope: !1)
!25 = !MDLocation(line: 11, column: 101, scope: !1)
!26 = !MDLocation(line: 12, column: 3, scope: !27)
!27 = !{!"0xb\0011\00107\000", !2, !1} ; [ DW_TAG_lexical_block ]
!28 = !{i32 13, i32 5, !27, null}
!29 = !{i32 14, i32 1, !27, null}
!28 = !MDLocation(line: 13, column: 5, scope: !27)
!29 = !MDLocation(line: 14, column: 1, scope: !27)
!30 = !{!1}
!31 = !{!5, !13, !14, !17, !18, !19}
!32 = !{!"one.c", !"/Volumes/Athwagate/R10048772"}

View File

@ -224,24 +224,24 @@ define hidden void @foobar_func_block_invoke_0(i8* %.block_descriptor, %0* %load
!126 = !{!"0xf\00\000\0032\0032\000\000", null, !0, !127} ; [ DW_TAG_pointer_type ]
!127 = !{!"0x13\00my_struct\0049\000\000\000\004\000", !159, !0, null, null, null, null, null} ; [ DW_TAG_structure_type ] [my_struct] [line 49, size 0, align 0, offset 0] [decl] [from ]
!128 = !{!"0x29", !159} ; [ DW_TAG_file_type ]
!129 = !{i32 609, i32 144, !23, null}
!129 = !MDLocation(line: 609, column: 144, scope: !23)
!130 = !{!"0x101\00loadedMydata\0033555041\000", !23, !24, !59} ; [ DW_TAG_arg_variable ]
!131 = !{i32 609, i32 155, !23, null}
!131 = !MDLocation(line: 609, column: 155, scope: !23)
!132 = !{!"0x101\00bounds\0050332257\000", !23, !24, !108} ; [ DW_TAG_arg_variable ]
!133 = !{i32 609, i32 175, !23, null}
!133 = !MDLocation(line: 609, column: 175, scope: !23)
!134 = !{!"0x101\00data\0067109473\000", !23, !24, !108} ; [ DW_TAG_arg_variable ]
!135 = !{i32 609, i32 190, !23, null}
!135 = !MDLocation(line: 609, column: 190, scope: !23)
!136 = !{!"0x100\00mydata\00604\000", !23, !24, !50} ; [ DW_TAG_auto_variable ]
!137 = !{i32 604, i32 49, !23, null}
!137 = !MDLocation(line: 604, column: 49, scope: !23)
!138 = !{!"0x100\00self\00604\000", !23, !40, !90} ; [ DW_TAG_auto_variable ]
!139 = !{!"0x100\00semi\00607\000", !23, !24, !125} ; [ DW_TAG_auto_variable ]
!140 = !{i32 607, i32 30, !23, null}
!141 = !{i32 610, i32 17, !142, null}
!140 = !MDLocation(line: 607, column: 30, scope: !23)
!141 = !MDLocation(line: 610, column: 17, scope: !142)
!142 = !{!"0xb\00609\00200\0094", !152, !23} ; [ DW_TAG_lexical_block ]
!143 = !{i32 611, i32 17, !142, null}
!144 = !{i32 612, i32 17, !142, null}
!145 = !{i32 613, i32 17, !142, null}
!146 = !{i32 615, i32 13, !142, null}
!143 = !MDLocation(line: 611, column: 17, scope: !142)
!144 = !MDLocation(line: 612, column: 17, scope: !142)
!145 = !MDLocation(line: 613, column: 17, scope: !142)
!146 = !MDLocation(line: 615, column: 13, scope: !142)
!147 = !{!1, !1, !5, !5, !9, !14, !19, !19, !14, !14, !14, !19, !19, !19}
!148 = !{!23}
!149 = !{!"header3.h", !"/Volumes/Sandbox/llvm"}

View File

@ -81,17 +81,17 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!36 = !{!"0x16\00v4sf\003\000\000\000\000", !55, !2, !6} ; [ DW_TAG_typedef ]
!37 = !{!"0xd\00A\0024\00128\0032\000\000", !55, !15, !38} ; [ DW_TAG_member ]
!38 = !{!"0x1\00\000\00128\0032\000\000", null, !2, !7, !8, i32 0, i32 0} ; [ DW_TAG_array_type ]
!39 = !{i32 79, i32 7, !40, null}
!39 = !MDLocation(line: 79, column: 7, scope: !40)
!40 = !{!"0xb\0075\0035\0018", !1, !41} ; [ DW_TAG_lexical_block ]
!41 = !{!"0xb\0075\005\0017", !1, !42} ; [ DW_TAG_lexical_block ]
!42 = !{!"0xb\0071\0032\0016", !1, !43} ; [ DW_TAG_lexical_block ]
!43 = !{!"0xb\0071\003\0015", !1, !25} ; [ DW_TAG_lexical_block ]
!44 = !{i32 75, i32 5, !42, null}
!45 = !{i32 42, i32 2, !46, !48}
!44 = !MDLocation(line: 75, column: 5, scope: !42)
!45 = !MDLocation(line: 42, column: 2, scope: !46, inlinedAt: !48)
!46 = !{!"0xb\0042\002\0020", !15, !47} ; [ DW_TAG_lexical_block ]
!47 = !{!"0xb\0041\0028\0019", !15, !14} ; [ DW_TAG_lexical_block ]
!48 = !{i32 95, i32 3, !25, null}
!49 = !{i32 99, i32 3, !25, null}
!48 = !MDLocation(line: 95, column: 3, scope: !25)
!49 = !MDLocation(line: 99, column: 3, scope: !25)
!50 = !{!0, !10, !14}
!51 = !{!18}
!52 = !{!19, !20, !24, !26, !27, !28, !29}

View File

@ -85,22 +85,22 @@ declare i32 @puts(i8* nocapture) nounwind
!23 = !{!"0x101\00argv\0017\000", !10, !1, !13} ; [ DW_TAG_arg_variable ]
!24 = !{!"0x100\00dval\0019\000", !25, !1, !7} ; [ DW_TAG_auto_variable ]
!25 = !{!"0xb\0018\000\002", !46, !10} ; [ DW_TAG_lexical_block ]
!26 = !{i32 4, i32 0, !9, null}
!27 = !{i32 6, i32 0, !28, null}
!26 = !MDLocation(line: 4, scope: !9)
!27 = !MDLocation(line: 6, scope: !28)
!28 = !{!"0xb\005\000\001", !46, !9} ; [ DW_TAG_lexical_block ]
!29 = !{i32 7, i32 0, !28, null}
!30 = !{i32 11, i32 0, !0, null}
!31 = !{i32 13, i32 0, !32, null}
!29 = !MDLocation(line: 7, scope: !28)
!30 = !MDLocation(line: 11, scope: !0)
!31 = !MDLocation(line: 13, scope: !32)
!32 = !{!"0xb\0012\000\000", !46, !0} ; [ DW_TAG_lexical_block ]
!33 = !{i32 14, i32 0, !32, null}
!34 = !{i32 17, i32 0, !10, null}
!35 = !{i32 19, i32 0, !25, null}
!36 = !{i32 20, i32 0, !25, null}
!37 = !{i32 21, i32 0, !25, null}
!38 = !{i32 4, i32 0, !9, !37}
!39 = !{i32 6, i32 0, !28, !37}
!40 = !{i32 22, i32 0, !25, null}
!41 = !{i32 23, i32 0, !25, null}
!33 = !MDLocation(line: 14, scope: !32)
!34 = !MDLocation(line: 17, scope: !10)
!35 = !MDLocation(line: 19, scope: !25)
!36 = !MDLocation(line: 20, scope: !25)
!37 = !MDLocation(line: 21, scope: !25)
!38 = !MDLocation(line: 4, scope: !9, inlinedAt: !37)
!39 = !MDLocation(line: 6, scope: !28, inlinedAt: !37)
!40 = !MDLocation(line: 22, scope: !25)
!41 = !MDLocation(line: 23, scope: !25)
!42 = !{!0, !9, !10}
!43 = !{!16, !17, !18}
!44 = !{!19, !20, !21}

View File

@ -77,17 +77,17 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!36 = !{!"0x16\00v4sf\003\000\000\000\000", !55, !2, !6} ; [ DW_TAG_typedef ]
!37 = !{!"0xd\00A\0024\00128\0032\000\000", !55, !15, !38} ; [ DW_TAG_member ]
!38 = !{!"0x1\00\000\00128\0032\000\000", null, !2, !7, !8, i32 0, i32 0} ; [ DW_TAG_array_type ]
!39 = !{i32 79, i32 7, !40, null}
!39 = !MDLocation(line: 79, column: 7, scope: !40)
!40 = !{!"0xb\0075\0035\0018", !54, !41} ; [ DW_TAG_lexical_block ]
!41 = !{!"0xb\0075\005\0017", !54, !42} ; [ DW_TAG_lexical_block ]
!42 = !{!"0xb\0071\0032\0016", !54, !43} ; [ DW_TAG_lexical_block ]
!43 = !{!"0xb\0071\003\0015", !54, !25} ; [ DW_TAG_lexical_block ]
!44 = !{i32 75, i32 5, !42, null}
!45 = !{i32 42, i32 2, !46, !48}
!44 = !MDLocation(line: 75, column: 5, scope: !42)
!45 = !MDLocation(line: 42, column: 2, scope: !46, inlinedAt: !48)
!46 = !{!"0xb\0042\002\0020", !55, !47} ; [ DW_TAG_lexical_block ]
!47 = !{!"0xb\0041\0028\0019", !55, !14} ; [ DW_TAG_lexical_block ]
!48 = !{i32 95, i32 3, !25, null}
!49 = !{i32 99, i32 3, !25, null}
!48 = !MDLocation(line: 95, column: 3, scope: !25)
!49 = !MDLocation(line: 99, column: 3, scope: !25)
!50 = !{!0, !10, !14}
!51 = !{!18}
!52 = !{!19, !20, !24, !26, !27, !28, !29}

View File

@ -89,29 +89,29 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!21 = !{!"0x24\00char\000\008\008\000\000\006", null, !2} ; [ DW_TAG_base_type ]
!22 = !{!"0x100\00dval\0019\000", !23, !1, !11} ; [ DW_TAG_auto_variable ]
!23 = !{!"0xb\0018\001\002", !51, !7} ; [ DW_TAG_lexical_block ]
!24 = !{i32 4, i32 22, !0, null}
!25 = !{i32 4, i32 33, !0, null}
!26 = !{i32 4, i32 52, !0, null}
!27 = !{i32 6, i32 3, !28, null}
!24 = !MDLocation(line: 4, column: 22, scope: !0)
!25 = !MDLocation(line: 4, column: 33, scope: !0)
!26 = !MDLocation(line: 4, column: 52, scope: !0)
!27 = !MDLocation(line: 6, column: 3, scope: !28)
!28 = !{!"0xb\005\001\000", !51, !0} ; [ DW_TAG_lexical_block ]
!29 = !{i32 7, i32 3, !28, null}
!30 = !{i32 11, i32 42, !6, null}
!31 = !{i32 11, i32 53, !6, null}
!32 = !{i32 11, i32 72, !6, null}
!33 = !{i32 13, i32 3, !34, null}
!29 = !MDLocation(line: 7, column: 3, scope: !28)
!30 = !MDLocation(line: 11, column: 42, scope: !6)
!31 = !MDLocation(line: 11, column: 53, scope: !6)
!32 = !MDLocation(line: 11, column: 72, scope: !6)
!33 = !MDLocation(line: 13, column: 3, scope: !34)
!34 = !{!"0xb\0012\001\001", !51, !6} ; [ DW_TAG_lexical_block ]
!35 = !{i32 14, i32 3, !34, null}
!36 = !{i32 17, i32 15, !7, null}
!37 = !{i32 17, i32 28, !7, null}
!38 = !{i32 19, i32 31, !23, null}
!39 = !{i32 20, i32 3, !23, null}
!40 = !{i32 21, i32 3, !23, null}
!41 = !{i32 4, i32 22, !0, !40}
!42 = !{i32 4, i32 33, !0, !40}
!43 = !{i32 4, i32 52, !0, !40}
!44 = !{i32 6, i32 3, !28, !40}
!45 = !{i32 22, i32 3, !23, null}
!46 = !{i32 23, i32 1, !23, null}
!35 = !MDLocation(line: 14, column: 3, scope: !34)
!36 = !MDLocation(line: 17, column: 15, scope: !7)
!37 = !MDLocation(line: 17, column: 28, scope: !7)
!38 = !MDLocation(line: 19, column: 31, scope: !23)
!39 = !MDLocation(line: 20, column: 3, scope: !23)
!40 = !MDLocation(line: 21, column: 3, scope: !23)
!41 = !MDLocation(line: 4, column: 22, scope: !0, inlinedAt: !40)
!42 = !MDLocation(line: 4, column: 33, scope: !0, inlinedAt: !40)
!43 = !MDLocation(line: 4, column: 52, scope: !0, inlinedAt: !40)
!44 = !MDLocation(line: 6, column: 3, scope: !28, inlinedAt: !40)
!45 = !MDLocation(line: 22, column: 3, scope: !23)
!46 = !MDLocation(line: 23, column: 1, scope: !23)
!47 = !{!0, !6, !7}
!48 = !{!8, !10, !12}
!49 = !{!14, !15, !16}

View File

@ -54,11 +54,11 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!8 = !{!"0x100\00y\008\000", !9, !2, !7} ; [ DW_TAG_auto_variable ]
!9 = !{!"0xb\007\0025\002", !18, !10} ; [ DW_TAG_lexical_block ]
!10 = !{!"0xb\007\003\001", !18, !6} ; [ DW_TAG_lexical_block ]
!11 = !{i32 6, i32 18, !6, null}
!12 = !{i32 7, i32 3, !6, null}
!13 = !{i32 8, i32 20, !9, null}
!14 = !{i32 7, i32 20, !10, null}
!15 = !{i32 10, i32 1, !6, null}
!11 = !MDLocation(line: 6, column: 18, scope: !6)
!12 = !MDLocation(line: 7, column: 3, scope: !6)
!13 = !MDLocation(line: 8, column: 20, scope: !9)
!14 = !MDLocation(line: 7, column: 20, scope: !10)
!15 = !MDLocation(line: 10, column: 1, scope: !6)
!16 = !{!1}
!17 = !{!5, !8}
!18 = !{!"k.cc", !"/private/tmp"}

View File

@ -52,7 +52,7 @@ define void @test_basic() #0 {
!10 = !{i32 1, !"Debug Info Version", i32 2}
!11 = !{!"clang version 3.5 "}
!12 = !{!"0x101\00count\0016777221\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [count] [line 5]
!13 = !{i32 5, i32 0, !4, null}
!13 = !MDLocation(line: 5, scope: !4)
!14 = !{!"0x100\00vl\006\000", !4, !5, !15} ; [ DW_TAG_auto_variable ] [vl] [line 6]
!15 = !{!"0x16\00va_list\0030\000\000\000\000", !16, null, !17} ; [ DW_TAG_typedef ] [va_list] [line 30, size 0, align 0, offset 0] [from __builtin_va_list]
!16 = !{!"/linux-x86_64-high/gcc_4.7.2/dbg/llvm/bin/../lib/clang/3.5/include/stdarg.h", !"/tmp"}
@ -61,18 +61,18 @@ define void @test_basic() #0 {
!19 = !{!20}
!20 = !{!"0xd\00__ap\006\0032\0032\000\000", !1, !18, !21} ; [ DW_TAG_member ] [__ap] [line 6, size 32, align 32, offset 0] [from ]
!21 = !{!"0xf\00\000\0032\0032\000\000", null, null, null} ; [ DW_TAG_pointer_type ] [line 0, size 32, align 32, offset 0] [from ]
!22 = !{i32 6, i32 0, !4, null}
!23 = !{i32 7, i32 0, !4, null}
!22 = !MDLocation(line: 6, scope: !4)
!23 = !MDLocation(line: 7, scope: !4)
!24 = !{!"0x100\00test_basic\008\000", !4, !5, !8} ; [ DW_TAG_auto_variable ] [sum] [line 8]
!25 = !{i32 8, i32 0, !4, null}
!25 = !MDLocation(line: 8, scope: !4)
!26 = !{!"0x100\00i\009\000", !27, !5, !8} ; [ DW_TAG_auto_variable ] [i] [line 9]
!27 = !{!"0xb\009\000\000", !1, !4} ; [ DW_TAG_lexical_block ] [/tmp/var.c]
!28 = !{i32 9, i32 0, !27, null}
!29 = !{i32 10, i32 0, !30, null}
!28 = !MDLocation(line: 9, scope: !27)
!29 = !MDLocation(line: 10, scope: !30)
!30 = !{!"0xb\009\000\001", !1, !27} ; [ DW_TAG_lexical_block ] [/tmp/var.c]
!31 = !{i32 11, i32 0, !30, null}
!32 = !{i32 12, i32 0, !4, null}
!33 = !{i32 13, i32 0, !4, null}
!31 = !MDLocation(line: 11, scope: !30)
!32 = !MDLocation(line: 12, scope: !4)
!33 = !MDLocation(line: 13, scope: !4)
; Just to prevent the alloca from being optimized away
declare void @dummy_use(i32*, i32)

View File

@ -51,14 +51,14 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!14 = !{!"0x101\00b\0033554433\000", !5, !6, !9} ; [ DW_TAG_arg_variable ] [b] [line 1]
!15 = !{!"0x100\00i\002\000", !16, !6, !10} ; [ DW_TAG_auto_variable ] [i] [line 2]
!16 = !{!"0xb\001\0026\000", !28, !5} ; [ DW_TAG_lexical_block ] [/usr2/kparzysz/s.hex/t/hwloop-dbg.c]
!17 = !{i32 1, i32 15, !5, null}
!18 = !{i32 1, i32 23, !5, null}
!19 = !{i32 3, i32 8, !20, null}
!17 = !MDLocation(line: 1, column: 15, scope: !5)
!18 = !MDLocation(line: 1, column: 23, scope: !5)
!19 = !MDLocation(line: 3, column: 8, scope: !20)
!20 = !{!"0xb\003\003\001", !28, !16} ; [ DW_TAG_lexical_block ] [/usr2/kparzysz/s.hex/t/hwloop-dbg.c]
!21 = !{i32 4, i32 5, !22, null}
!21 = !MDLocation(line: 4, column: 5, scope: !22)
!22 = !{!"0xb\003\0028\002", !28, !20} ; [ DW_TAG_lexical_block ] [/usr2/kparzysz/s.hex/t/hwloop-dbg.c]
!26 = !{i32 3, i32 23, !20, null}
!27 = !{i32 6, i32 1, !16, null}
!26 = !MDLocation(line: 3, column: 23, scope: !20)
!27 = !MDLocation(line: 6, column: 1, scope: !16)
!28 = !{!"hwloop-dbg.c", !"/usr2/kparzysz/s.hex/t"}
!29 = !{i32 1, !"Debug Info Version", i32 2}
!30 = !{i32 0}

View File

@ -23,8 +23,8 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!6 = !{i32 0}
!7 = !{!"0x100\00i\003\000", !8, !1, !5} ; [ DW_TAG_auto_variable ]
!8 = !{!"0xb\002\0012\000", !12, !0} ; [ DW_TAG_lexical_block ]
!9 = !{i32 3, i32 11, !8, null}
!10 = !{i32 4, i32 2, !8, null}
!9 = !MDLocation(line: 3, column: 11, scope: !8)
!10 = !MDLocation(line: 4, column: 2, scope: !8)
!11 = !{!0}
!12 = !{!"/tmp/x.c", !"/Users/manav"}
!13 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -31,9 +31,9 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!13 = !{!15, !16}
!15 = !{!"0x101\00argc\0016777217\000", !5, !6, !9} ; [ DW_TAG_arg_variable ]
!16 = !{!"0x101\00argv\0033554433\000", !5, !6, !10} ; [ DW_TAG_arg_variable ]
!17 = !{i32 1, i32 14, !5, null}
!18 = !{i32 1, i32 26, !5, null}
!19 = !{i32 2, i32 3, !20, null}
!17 = !MDLocation(line: 1, column: 14, scope: !5)
!18 = !MDLocation(line: 1, column: 26, scope: !5)
!19 = !MDLocation(line: 2, column: 3, scope: !20)
!20 = !{!"0xb\001\0034\000", !21, !5} ; [ DW_TAG_lexical_block ]
!21 = !{!"dbg.c", !"/src"}
!22 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -493,26 +493,26 @@ attributes #1 = { nounwind readnone }
!436 = !{!"0x34\00tmp2\00tmp2\00\0088\001\001", null, !300, !20, null, null} ; [ DW_TAG_variable ] [tmp2] [line 88] [local] [def]
!437 = !{!"0x34\00tmp1\00tmp1\00\0088\001\001", null, !300, !20, null, null} ; [ DW_TAG_variable ] [tmp1] [line 88] [local] [def]
!438 = !{i32 2, !"Dwarf Version", i32 4}
!439 = !{i32 1898, i32 0, !440, null}
!439 = !MDLocation(line: 1898, scope: !440)
!440 = !{!"0xb\001898\000\00107", !1, !114} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!441 = !{i32 1913, i32 0, !442, null}
!441 = !MDLocation(line: 1913, scope: !442)
!442 = !{!"0xb\001913\000\00115", !1, !114} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!443 = !{i32 1923, i32 0, !114, null}
!443 = !MDLocation(line: 1923, scope: !114)
!444 = !{!"int", !445}
!445 = !{!"omnipotent char", !446}
!446 = !{!"Simple C/C++ TBAA"}
!447 = !{i32 1}
!448 = !{i32 1925, i32 0, !449, null}
!448 = !MDLocation(line: 1925, scope: !449)
!449 = !{!"0xb\001925\000\00121", !1, !114} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!450 = !{i32 1939, i32 0, !451, null}
!450 = !MDLocation(line: 1939, scope: !451)
!451 = !{!"0xb\001939\000\00127", !1, !114} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!452 = !{i32 1940, i32 0, !453, null}
!452 = !MDLocation(line: 1940, scope: !453)
!453 = !{!"0xb\001940\000\00129", !1, !454} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!454 = !{!"0xb\001939\000\00128", !1, !451} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!455 = !{i32 1941, i32 0, !456, null}
!455 = !MDLocation(line: 1941, scope: !456)
!456 = !{!"0xb\001941\000\00131", !1, !457} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!457 = !{!"0xb\001940\000\00130", !1, !453} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!458 = !{i32 2020, i32 0, !459, null}
!458 = !MDLocation(line: 2020, scope: !459)
!459 = !{!"0xb\002020\000\00149", !1, !460} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!460 = !{!"0xb\002019\000\00148", !1, !461} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]
!461 = !{!"0xb\002019\000\00147", !1, !462} ; [ DW_TAG_lexical_block ] [/home/hfinkel/src/NPB2.3-omp-C/BT/bt.c]

View File

@ -30,6 +30,6 @@ attributes #0 = { nounwind }
!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !7, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!7 = !{null}
!8 = !{i32 2, !"Dwarf Version", i32 3}
!9 = !{i32 2, i32 0, !4, null}
!10 = !{i32 3, i32 0, !4, null}
!9 = !MDLocation(line: 2, scope: !4)
!10 = !MDLocation(line: 3, scope: !4)
!11 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -48,7 +48,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!llvm.dbg.cu = !{!5}
!llvm.module.flags = !{!104}
!0 = !{i32 46, i32 0, !1, null}
!0 = !MDLocation(line: 46, scope: !1)
!1 = !{!"0xb\0044\000\000", !101, !2} ; [ DW_TAG_lexical_block ]
!2 = !{!"0xb\0044\000\000", !101, !3} ; [ DW_TAG_lexical_block ]
!3 = !{!"0x2e\00getClosestDiagonal3\00getClosestDiagonal3\00_Z19getClosestDiagonal3ii\0044\000\001\000\006\000\000\000", !101, null, !6, null, null, null, null, null} ; [ DW_TAG_subprogram ]
@ -142,13 +142,13 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!89 = !{!"0x2e\00indexOfMaxComponent\00indexOfMaxComponent\00_ZNK9ggVector319indexOfMaxComponentEv\00146\000\000\000\006\000\000\000", !9, !8, !86, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!90 = !{!"0x2e\00indexOfMaxAbsComponent\00indexOfMaxAbsComponent\00_ZNK9ggVector322indexOfMaxAbsComponentEv\00150\000\000\000\006\000\000\000", !9, !8, !86, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!91 = !{!"0x100\00vx\0046\000", !1, !4, !13} ; [ DW_TAG_auto_variable ]
!92 = !{i32 48, i32 0, !1, null}
!93 = !{i32 218, i32 0, !94, !96}
!92 = !MDLocation(line: 48, scope: !1)
!93 = !MDLocation(line: 218, scope: !94, inlinedAt: !96)
!94 = !{!"0xb\00217\000\000", !101, !95} ; [ DW_TAG_lexical_block ]
!95 = !{!"0xb\00217\000\000", !101, !77} ; [ DW_TAG_lexical_block ]
!96 = !{i32 51, i32 0, !1, null}
!97 = !{i32 227, i32 0, !94, !96}
!98 = !{i32 52, i32 0, !1, null}
!96 = !MDLocation(line: 51, scope: !1)
!97 = !MDLocation(line: 227, scope: !94, inlinedAt: !96)
!98 = !MDLocation(line: 52, scope: !1)
!101 = !{!"ggEdgeDiscrepancy.cc", !"/Volumes/Home/grosbaj/sources/llvm-externals/speccpu2000/benchspec/CINT2000/252.eon/src"}
!102 = !{i32 0}
!103 = !{!3, !77}

View File

@ -73,15 +73,15 @@ declare void @llvm.stackrestore(i8*) nounwind
!4 = !{!5, !6}
!5 = !{!"0x24\00char\000\008\008\000\000\006", null, !2} ; [ DW_TAG_base_type ]
!6 = !{!"0xf\00\000\0064\0064\000\000", null, !2, !5} ; [ DW_TAG_pointer_type ]
!7 = !{i32 2, i32 0, !1, null}
!7 = !MDLocation(line: 2, scope: !1)
!8 = !{!"0x100\00str.0\003\000", !1, !2, !9} ; [ DW_TAG_auto_variable ]
!9 = !{!"0xf\00\000\0064\0064\000\0064", null, !2, !10} ; [ DW_TAG_pointer_type ]
!10 = !{!"0x1\00\000\008\008\000\000", null, !2, !5, !11, i32 0, null, null, null} ; [ DW_TAG_array_type ] [line 0, size 8, align 8, offset 0] [from char]
!11 = !{!12}
!12 = !{!"0x21\000\001"} ; [ DW_TAG_subrange_type ]
!13 = !{i32 3, i32 0, !14, null}
!13 = !MDLocation(line: 3, scope: !14)
!14 = !{!"0xb\000\000\000", !17, !1} ; [ DW_TAG_lexical_block ]
!15 = !{i32 4, i32 0, !14, null}
!16 = !{i32 5, i32 0, !14, null}
!15 = !MDLocation(line: 4, scope: !14)
!16 = !MDLocation(line: 5, scope: !14)
!17 = !{!"vla.c", !"/tmp/"}
!18 = !{i32 0}

View File

@ -22,13 +22,13 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
declare i32 @foo(i32) ssp
!0 = !{i32 5, i32 2, !1, null}
!0 = !MDLocation(line: 5, column: 2, scope: !1)
!1 = !{!"0xb\001\001\000", null, !2}; [DW_TAG_lexical_block ]
!2 = !{!"0x2e\00bar\00bar\00bar\004\000\001\000\006\000\000\000", i32 0, !3, null, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!3 = !{!"0x11\0012\00clang 1.1\001\00\000\00\000", !8, null, !9, null, null, null}; [DW_TAG_compile_unit ]
!4 = !{!"0x100\00count_\005\000", !5, !3, !6}; [ DW_TAG_auto_variable ]
!5 = !{!"0xb\001\001\000", null, !1}; [DW_TAG_lexical_block ]
!6 = !{!"0x24\00int\000\0032\0032\000\000\005", null, !3}; [DW_TAG_base_type ]
!7 = !{i32 6, i32 1, !2, null}
!7 = !MDLocation(line: 6, column: 1, scope: !2)
!8 = !{!"genmodes.i", !"/Users/yash/Downloads"}
!9 = !{i32 0}

View File

@ -46,8 +46,8 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!12 = !{!"0xd\00x\002\0064\0064\000\000", !19, !10, !6} ; [ DW_TAG_member ]
!13 = !{!"0xd\00y\003\0064\0064\0064\000", !19, !10, !6} ; [ DW_TAG_member ]
!14 = !{!"0xd\00P2\008\00128\0064\00128\000", !19, !7, !10} ; [ DW_TAG_member ]
!15 = !{i32 11, i32 0, !1, null}
!16 = !{i32 12, i32 0, !17, null}
!15 = !MDLocation(line: 11, scope: !1)
!16 = !MDLocation(line: 12, scope: !17)
!17 = !{!"0xb\0011\000\000", !19, !1} ; [ DW_TAG_lexical_block ]
!18 = !{!1}
!19 = !{!"b2.c", !"/tmp/"}

View File

@ -219,30 +219,30 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!16 = !{!"0x100\00ratio\001923\000", !15, !2, !9} ; [ DW_TAG_auto_variable ]
!17 = !{!"0x100\00x\001923\000", !15, !2, !9} ; [ DW_TAG_auto_variable ]
!18 = !{!"0x100\00y\001923\000", !15, !2, !9} ; [ DW_TAG_auto_variable ]
!19 = !{i32 1929, i32 0, !15, null}
!20 = !{i32 1931, i32 0, !15, null}
!21 = !{i32 1932, i32 0, !15, null}
!22 = !{i32 1933, i32 0, !15, null}
!23 = !{i32 1934, i32 0, !15, null}
!24 = !{i32 1938, i32 0, !15, null}
!25 = !{i32 1939, i32 0, !15, null}
!26 = !{i32 1940, i32 0, !15, null}
!27 = !{i32 1941, i32 0, !15, null}
!28 = !{i32 1946, i32 0, !15, null}
!29 = !{i32 1948, i32 0, !15, null}
!30 = !{i32 1950, i32 0, !15, null}
!31 = !{i32 1951, i32 0, !15, null}
!32 = !{i32 1953, i32 0, !15, null}
!33 = !{i32 1955, i32 0, !15, null}
!34 = !{i32 1956, i32 0, !15, null}
!35 = !{i32 1957, i32 0, !15, null}
!36 = !{i32 1958, i32 0, !15, null}
!37 = !{i32 1960, i32 0, !15, null}
!38 = !{i32 1962, i32 0, !15, null}
!39 = !{i32 1963, i32 0, !15, null}
!40 = !{i32 1964, i32 0, !15, null}
!41 = !{i32 1965, i32 0, !15, null}
!42 = !{i32 1969, i32 0, !15, null}
!19 = !MDLocation(line: 1929, scope: !15)
!20 = !MDLocation(line: 1931, scope: !15)
!21 = !MDLocation(line: 1932, scope: !15)
!22 = !MDLocation(line: 1933, scope: !15)
!23 = !MDLocation(line: 1934, scope: !15)
!24 = !MDLocation(line: 1938, scope: !15)
!25 = !MDLocation(line: 1939, scope: !15)
!26 = !MDLocation(line: 1940, scope: !15)
!27 = !MDLocation(line: 1941, scope: !15)
!28 = !MDLocation(line: 1946, scope: !15)
!29 = !MDLocation(line: 1948, scope: !15)
!30 = !MDLocation(line: 1950, scope: !15)
!31 = !MDLocation(line: 1951, scope: !15)
!32 = !MDLocation(line: 1953, scope: !15)
!33 = !MDLocation(line: 1955, scope: !15)
!34 = !MDLocation(line: 1956, scope: !15)
!35 = !MDLocation(line: 1957, scope: !15)
!36 = !MDLocation(line: 1958, scope: !15)
!37 = !MDLocation(line: 1960, scope: !15)
!38 = !MDLocation(line: 1962, scope: !15)
!39 = !MDLocation(line: 1963, scope: !15)
!40 = !MDLocation(line: 1964, scope: !15)
!41 = !MDLocation(line: 1965, scope: !15)
!42 = !MDLocation(line: 1969, scope: !15)
!43 = !{!0, !11, !12, !13, !14, !16, !17, !18}
!44 = !{!1}
!45 = !{!"libgcc2.c", !"/Users/yash/clean/LG.D/gcc/../../llvmgcc/gcc"}

View File

@ -52,9 +52,9 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!25 = !{!"0x101\00argv\0022\000", !19, !1, !22} ; [ DW_TAG_arg_variable ]
!26 = !{!"0x100\00e\0023\000", !27, !1, !14} ; [ DW_TAG_auto_variable ]
!27 = !{!"0xb\0022\000\000", !36, !19} ; [ DW_TAG_lexical_block ]
!28 = !{i32 18, i32 0, !29, null}
!28 = !MDLocation(line: 18, scope: !29)
!29 = !{!"0xb\0017\000\001", !36, !9} ; [ DW_TAG_lexical_block ]
!30 = !{i32 19, i32 0, !29, null}
!30 = !MDLocation(line: 19, scope: !29)
!31 = !{!0}
!32 = !{!5, !9, !19}
!33 = !{!4}

View File

@ -34,11 +34,11 @@ entry:
!6 = !{!"0x24\00int\000\0032\0032\000\000\005", !18, !2} ; [ DW_TAG_base_type ]
!7 = !{!"0x101\00x\006\000", !8, !2, !6} ; [ DW_TAG_arg_variable ]
!8 = !{!"0x2e\00bar\00bar\00bar\006\000\001\000\006\000\001\006", !18, !2, !4, null, i32 (i32)* @bar, null, null, !16} ; [ DW_TAG_subprogram ]
!9 = !{i32 3, i32 0, !10, null}
!9 = !MDLocation(line: 3, scope: !10)
!10 = !{!"0xb\002\000\000", !18, !1} ; [ DW_TAG_lexical_block ]
!11 = !{i32 1}
!12 = !{i32 3, i32 0, !10, !13}
!13 = !{i32 7, i32 0, !14, null}
!12 = !MDLocation(line: 3, scope: !10, inlinedAt: !13)
!13 = !MDLocation(line: 7, scope: !14)
!14 = !{!"0xb\006\000\000", !18, !8} ; [ DW_TAG_lexical_block ]
!15 = !{!0}
!16 = !{!7}

View File

@ -52,7 +52,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!26 = !{!"0xb\0019\000\000", !31, !27} ; [ DW_TAG_lexical_block ]
!27 = !{!"0xb\0019\000\000", !31, !18} ; [ DW_TAG_lexical_block ]
!28 = !{!"0x100\00b\0021\000", !26, !3, !7} ; [ DW_TAG_auto_variable ]
!29 = !{i32 16, i32 0, !30, null}
!29 = !MDLocation(line: 16, scope: !30)
!30 = !{!"0xb\0015\000\000", !31, !8} ; [ DW_TAG_lexical_block ]
!31 = !{!"foo.cp", !"/tmp/"}
!32 = !{i32 0}

View File

@ -17,7 +17,7 @@
!104 = !{!"0x1\00\000\0085312\0064\000\000", !109, null, !46, !105, i32 0, null, null, null} ; [ DW_TAG_array_type ] [line 0, size 85312, align 64, offset 0] [from ]
!105 = !{!106}
!106 = !{!"0x21\000\001333"} ; [ DW_TAG_subrange_type ]
!107 = !{i32 73, i32 0, !103, null}
!107 = !MDLocation(line: 73, scope: !103)
!108 = !{i32 0}
!109 = !{!"pbmsrch.c", !"/Users/grawp/LLVM/test-suite/MultiSource/Benchmarks/MiBench/office-stringsearch"}

View File

@ -102,28 +102,28 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!21 = !{!"0x15\00\000\000\000\000\000\000", !47, !2, null, !22, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!22 = !{!13}
!23 = !{!"0x101\00i\0016\000", !17, !2, !13} ; [ DW_TAG_arg_variable ]
!24 = !{i32 16, i32 0, !17, null}
!24 = !MDLocation(line: 16, scope: !17)
!25 = !{!"0x101\00location\0016\000", !17, !2, !26} ; [ DW_TAG_arg_variable ]
!26 = !{!"0x10\00SVal\000\0064\0064\000\000", !47, !2, !1} ; [ DW_TAG_reference_type ]
!27 = !{i32 17, i32 0, !28, null}
!27 = !MDLocation(line: 17, scope: !28)
!28 = !{!"0xb\0016\000\002", !47, !17} ; [ DW_TAG_lexical_block ]
!29 = !{i32 18, i32 0, !28, null}
!30 = !{i32 20, i32 0, !28, null}
!29 = !MDLocation(line: 18, scope: !28)
!30 = !MDLocation(line: 20, scope: !28)
!31 = !{!"0x101\00this\0011\000", !16, !2, !32} ; [ DW_TAG_arg_variable ]
!32 = !{!"0x26\00\000\0064\0064\000\0064", !47, !2, !33} ; [ DW_TAG_const_type ]
!33 = !{!"0xf\00\000\0064\0064\000\000", !47, !2, !1} ; [ DW_TAG_pointer_type ]
!34 = !{i32 11, i32 0, !16, null}
!35 = !{i32 11, i32 0, !36, null}
!34 = !MDLocation(line: 11, scope: !16)
!35 = !MDLocation(line: 11, scope: !36)
!36 = !{!"0xb\0011\000\001", !47, !37} ; [ DW_TAG_lexical_block ]
!37 = !{!"0xb\0011\000\000", !47, !16} ; [ DW_TAG_lexical_block ]
!38 = !{!"0x100\00v\0024\000", !39, !2, !1} ; [ DW_TAG_auto_variable ]
!39 = !{!"0xb\0023\000\004", !47, !40} ; [ DW_TAG_lexical_block ]
!40 = !{!"0xb\0023\000\003", !47, !20} ; [ DW_TAG_lexical_block ]
!41 = !{i32 24, i32 0, !39, null}
!42 = !{i32 25, i32 0, !39, null}
!43 = !{i32 26, i32 0, !39, null}
!41 = !MDLocation(line: 24, scope: !39)
!42 = !MDLocation(line: 25, scope: !39)
!43 = !MDLocation(line: 26, scope: !39)
!44 = !{!"0x100\00k\0026\000", !39, !2, !13} ; [ DW_TAG_auto_variable ]
!45 = !{i32 27, i32 0, !39, null}
!45 = !MDLocation(line: 27, scope: !39)
!47 = !{!"small.cc", !"/Users/manav/R8248330"}
!48 = !{i32 0}
!49 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -23,9 +23,9 @@ entry:
!5 = !{!"0x24\00int\000\0032\0032\000\000\005", !14, !1} ; [ DW_TAG_base_type ]
!6 = !{!"0x2e\00bar\00bar\00bar\004\000\001\000\006\000\000\000", !15, !7, !3, null, i32 ()* @bar, null, null, null} ; [ DW_TAG_subprogram ]
!7 = !{!"0x29", !15} ; [ DW_TAG_file_type ]
!8 = !{i32 53, i32 13, !9, null}
!8 = !MDLocation(line: 53, column: 13, scope: !9)
!9 = !{!"0xb\0053\0011\000", !14, !0} ; [ DW_TAG_lexical_block ]
!10 = !{i32 4, i32 13, !11, null}
!10 = !MDLocation(line: 4, column: 13, scope: !11)
!11 = !{!"0xb\004\0013\002", !15, !12} ; [ DW_TAG_lexical_block ]
!12 = !{!"0xb\004\0011\001", !15, !6} ; [ DW_TAG_lexical_block ]
!13 = !{!0, !6}

View File

@ -30,8 +30,8 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!9 = !{!10, !11}
!10 = !{!"0xd\00x\002\0032\0032\000\000", !17, !1, !5} ; [ DW_TAG_member ]
!11 = !{!"0xd\00y\002\0032\0032\0032\000", !17, !1, !5} ; [ DW_TAG_member ]
!12 = !{i32 3, i32 47, !0, null}
!13 = !{i32 4, i32 2, !14, null}
!12 = !MDLocation(line: 3, column: 47, scope: !0)
!13 = !MDLocation(line: 4, column: 2, scope: !14)
!14 = !{!"0xb\003\0050\000", !17, !0} ; [ DW_TAG_lexical_block ]
!15 = !{!0}
!16 = !{!6}

View File

@ -96,16 +96,16 @@ declare i32 @puts(i8* nocapture) nounwind
!15 = !{!"0xb\0025\0012\002", !31, !6} ; [ DW_TAG_lexical_block ]
!16 = !{!"0x24\00unsigned int\000\0032\0032\000\000\007", null, !2} ; [ DW_TAG_base_type ]
!17 = !{!"0x100\00z_s\0027\000", !15, !1, !9} ; [ DW_TAG_auto_variable ]
!18 = !{i32 5, i32 41, !0, null}
!19 = !{i32 5, i32 49, !0, null}
!20 = !{i32 7, i32 5, !13, null}
!21 = !{i32 8, i32 9, !22, null}
!18 = !MDLocation(line: 5, column: 41, scope: !0)
!19 = !MDLocation(line: 5, column: 49, scope: !0)
!20 = !MDLocation(line: 7, column: 5, scope: !13)
!21 = !MDLocation(line: 8, column: 9, scope: !22)
!22 = !{!"0xb\007\0014\001", !31, !13} ; [ DW_TAG_lexical_block ]
!23 = !{i32 9, i32 9, !22, null}
!24 = !{i32 26, i32 38, !15, null}
!25 = !{i32 27, i32 38, !15, null}
!26 = !{i32 28, i32 9, !15, null}
!27 = !{i32 30, i32 1, !15, null}
!23 = !MDLocation(line: 9, column: 9, scope: !22)
!24 = !MDLocation(line: 26, column: 38, scope: !15)
!25 = !MDLocation(line: 27, column: 38, scope: !15)
!26 = !MDLocation(line: 28, column: 9, scope: !15)
!27 = !MDLocation(line: 30, column: 1, scope: !15)
!28 = !{!0, !6}
!29 = !{!10, !11, !12}
!30 = !{!14, !17}

View File

@ -40,12 +40,12 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!9 = !{!"0x24\00char\000\008\008\000\000\006", null, !0} ; [ DW_TAG_base_type ]
!10 = !{!"0x100\00a\003\000", !11, !2, !9} ; [ DW_TAG_auto_variable ]
!11 = !{!"0xb\002\0025\000", !20, !1} ; [ DW_TAG_lexical_block ]
!12 = !{i32 2, i32 13, !1, null}
!13 = !{i32 2, i32 22, !1, null}
!14 = !{i32 3, i32 14, !11, null}
!15 = !{i32 4, i32 3, !11, null}
!16 = !{i32 5, i32 5, !11, null}
!17 = !{i32 7, i32 1, !11, null}
!12 = !MDLocation(line: 2, column: 13, scope: !1)
!13 = !MDLocation(line: 2, column: 22, scope: !1)
!14 = !MDLocation(line: 3, column: 14, scope: !11)
!15 = !MDLocation(line: 4, column: 3, scope: !11)
!16 = !MDLocation(line: 5, column: 5, scope: !11)
!17 = !MDLocation(line: 7, column: 1, scope: !11)
!18 = !{!1}
!19 = !{!6, !7, !10}
!20 = !{!"a.c", !"/private/tmp"}

View File

@ -160,45 +160,45 @@ attributes #2 = { nounwind readnone }
!44 = !{i32 2, !"Dwarf Version", i32 4}
!45 = !{i32 2, !"Debug Info Version", i32 2}
!46 = !{!"clang version 3.5.0 "}
!47 = !{i32 11, i32 0, !24, null}
!47 = !MDLocation(line: 11, scope: !24)
!48 = !{i8* null}
!49 = !{i32 12, i32 0, !24, null}
!50 = !{i32 14, i32 0, !51, null}
!49 = !MDLocation(line: 12, scope: !24)
!50 = !MDLocation(line: 14, scope: !51)
!51 = !{!"0xb\0014\000\000", !1, !24} ; [ DW_TAG_lexical_block ] [/tmp/dbginfo/dbg-changes-codegen-branch-folding.cpp]
!52 = !{i32 15, i32 0, !53, null}
!52 = !MDLocation(line: 15, scope: !53)
!53 = !{!"0xb\0014\000\000", !1, !51} ; [ DW_TAG_lexical_block ] [/tmp/dbginfo/dbg-changes-codegen-branch-folding.cpp]
!54 = !{i32 16, i32 0, !53, null}
!55 = !{i32 17, i32 0, !24, null}
!54 = !MDLocation(line: 16, scope: !53)
!55 = !MDLocation(line: 17, scope: !24)
!56 = !{!"0x101\00this\0016777216\001088", !40, null, !38, !55} ; [ DW_TAG_arg_variable ] [this] [line 0]
!57 = !{i32 0, i32 0, !40, !55}
!57 = !MDLocation(line: 0, scope: !40, inlinedAt: !55)
!58 = !{i8* getelementptr inbounds ([1 x i8]* @.str, i64 0, i64 0)}
!59 = !{!"0x101\00value\0033554437\000", !40, !25, !15, !55} ; [ DW_TAG_arg_variable ] [value] [line 5]
!60 = !{i32 5, i32 0, !40, !55}
!61 = !{i32 5, i32 0, !62, !55}
!60 = !MDLocation(line: 5, scope: !40, inlinedAt: !55)
!61 = !MDLocation(line: 5, scope: !62, inlinedAt: !55)
!62 = !{!"0xb\005\000\000", !1, !40} ; [ DW_TAG_lexical_block ] [/tmp/dbginfo/dbg-changes-codegen-branch-folding.cpp]
!63 = !{i32 18, i32 0, !24, null}
!63 = !MDLocation(line: 18, scope: !24)
!64 = !{!"0x101\00this\0016777216\001088", !40, null, !38, !63} ; [ DW_TAG_arg_variable ] [this] [line 0]
!65 = !{i32 0, i32 0, !40, !63}
!65 = !MDLocation(line: 0, scope: !40, inlinedAt: !63)
!66 = !{!"0x101\00value\0033554437\000", !40, !25, !15, !63} ; [ DW_TAG_arg_variable ] [value] [line 5]
!67 = !{i32 5, i32 0, !40, !63}
!68 = !{i32 5, i32 0, !62, !63}
!69 = !{i32 20, i32 0, !70, null}
!67 = !MDLocation(line: 5, scope: !40, inlinedAt: !63)
!68 = !MDLocation(line: 5, scope: !62, inlinedAt: !63)
!69 = !MDLocation(line: 20, scope: !70)
!70 = !{!"0xb\0020\000\000", !1, !24} ; [ DW_TAG_lexical_block ] [/tmp/dbginfo/dbg-changes-codegen-branch-folding.cpp]
!71 = !{!"0x101\00this\0016777216\001088", !35, null, !38, !72} ; [ DW_TAG_arg_variable ] [this] [line 0]
!72 = !{i32 21, i32 0, !70, null}
!73 = !{i32 0, i32 0, !35, !72}
!72 = !MDLocation(line: 21, scope: !70)
!73 = !MDLocation(line: 0, scope: !35, inlinedAt: !72)
!74 = !{i8* getelementptr inbounds ([2 x i8]* @.str1, i64 0, i64 0)}
!75 = !{!"0x101\00value\0033554438\000", !35, !25, !15, !72} ; [ DW_TAG_arg_variable ] [value] [line 6]
!76 = !{i32 6, i32 0, !35, !72}
!76 = !MDLocation(line: 6, scope: !35, inlinedAt: !72)
!77 = !{!"0x101\00this\0016777216\001088", !35, null, !38, !78} ; [ DW_TAG_arg_variable ] [this] [line 0]
!78 = !{i32 23, i32 0, !70, null}
!79 = !{i32 0, i32 0, !35, !78}
!78 = !MDLocation(line: 23, scope: !70)
!79 = !MDLocation(line: 0, scope: !35, inlinedAt: !78)
!80 = !{i8* getelementptr inbounds ([2 x i8]* @.str2, i64 0, i64 0)}
!81 = !{!"0x101\00value\0033554438\000", !35, !25, !15, !78} ; [ DW_TAG_arg_variable ] [value] [line 6]
!82 = !{i32 6, i32 0, !35, !78}
!82 = !MDLocation(line: 6, scope: !35, inlinedAt: !78)
!83 = !{!"0x101\00this\0016777216\001088", !35, null, !38, !84} ; [ DW_TAG_arg_variable ] [this] [line 0]
!84 = !{i32 24, i32 0, !24, null}
!85 = !{i32 0, i32 0, !35, !84}
!84 = !MDLocation(line: 24, scope: !24)
!85 = !MDLocation(line: 0, scope: !35, inlinedAt: !84)
!86 = !{!"0x101\00value\0033554438\000", !35, !25, !15, !84} ; [ DW_TAG_arg_variable ] [value] [line 6]
!87 = !{i32 6, i32 0, !35, !84}
!88 = !{i32 25, i32 0, !24, null}
!87 = !MDLocation(line: 6, scope: !35, inlinedAt: !84)
!88 = !MDLocation(line: 25, scope: !24)

View File

@ -86,5 +86,5 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata)
!21 = !{!"0x34\00argc\00argc\00\001\000\001", null, !14, !11, i8* @argc, null} ; [ DW_TAG_variable ] [argc] [line 1] [def]
!22 = !{i32 2, !"Dwarf Version", i32 4}
!23 = !{i32 2, !"Debug Info Version", i32 2}
!25 = !{i32 8, i32 3, !13, null}
!25 = !MDLocation(line: 8, column: 3, scope: !13)
!29 = !{!"0x102"} ; [ DW_TAG_expression ]

View File

@ -63,9 +63,9 @@ attributes #0 = { sspreq }
!35 = !{!36, !37}
!36 = !{!"0x101\00p1\0016777228\000", !24, !10, !29} ; [ DW_TAG_arg_variable ] [p1] [line 12]
!37 = !{!"0x101\00p2\0033554444\000", !24, !10, !32} ; [ DW_TAG_arg_variable ] [p2] [line 12]
!38 = !{i32 33, i32 0, !9, null}
!39 = !{i32 12, i32 0, !24, !38}
!40 = !{i32 9, i32 0, !41, !59}
!38 = !MDLocation(line: 33, scope: !9)
!39 = !MDLocation(line: 12, scope: !24, inlinedAt: !38)
!40 = !MDLocation(line: 9, scope: !41, inlinedAt: !59)
!41 = !{!"0x2e\00min<unsigned long long, __1::A>\00min<unsigned long long, __1::A>\00_ZN3__13minIyNS_1AEEERKT_S4_RS2_T0_\007\000\001\000\006\00256\001\008", !1, !25, !42, null, null, !53, null, !55} ; [ DW_TAG_subprogram ] [line 7] [def] [scope 8] [min<unsigned long long, __1::A>]
!42 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !43, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!43 = !{!29, !29, !32, !44}
@ -84,7 +84,7 @@ attributes #0 = { sspreq }
!56 = !{!"0x101\00p1\0016777223\000", !41, !10, !29} ; [ DW_TAG_arg_variable ] [p1] [line 7]
!57 = !{!"0x101\00p2\0033554439\000", !41, !10, !32} ; [ DW_TAG_arg_variable ] [p2] [line 7]
!58 = !{!"0x101\00p3\0050331656\000", !41, !10, !44} ; [ DW_TAG_arg_variable ] [p3] [line 8]
!59 = !{i32 13, i32 0, !24, !38}
!59 = !MDLocation(line: 13, scope: !24, inlinedAt: !38)
!63 = !{i32 undef}
!64 = !{!"0x101\00p1\0033554433\000", !65, !10, !50, !40} ; [ DW_TAG_arg_variable ] [p1] [line 1]
!65 = !{!"0x2e\00operator()\00operator()\00_ZN3__11AclERKiS2_\001\000\001\000\006\00256\001\002", !1, !25, !47, null, null, null, !46, !66} ; [ DW_TAG_subprogram ] [line 1] [def] [scope 2] [operator()]
@ -93,5 +93,5 @@ attributes #0 = { sspreq }
!68 = !{!"0xf\00\000\0064\0064\000\000", null, null, !44} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from A]
!69 = !{!"0x101\00p1\0033554433\000", !65, !10, !50} ; [ DW_TAG_arg_variable ] [p1] [line 1]
!70 = !{!"0x101\00\0050331650\000", !65, !10, !50} ; [ DW_TAG_arg_variable ] [line 2]
!71 = !{i32 1, i32 0, !65, !40}
!71 = !MDLocation(line: 1, scope: !65, inlinedAt: !40)
!72 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -29,7 +29,7 @@ entry:
!5 = !{!6}
!6 = !{!"0x24\00int\000\0032\0032\000\000\005", !10, !2} ; [ DW_TAG_base_type ]
!7 = !{!"0xb\001\0030\000", !2, !1} ; [ DW_TAG_lexical_block ]
!8 = !{i32 4, i32 3, !7, null}
!8 = !MDLocation(line: 4, column: 3, scope: !7)
!9 = !{!1}
!10 = !{!"test.c", !"/dir"}
!11 = !{i32 0}

View File

@ -35,5 +35,5 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata)
!9 = !{i32 2, !"Dwarf Version", i32 4}
!10 = !{i32 2, !"Debug Info Version", i32 2}
!11 = !{!"0x101\00a\0016777218\000", !4, !5, !8} ; [ DW_TAG_arg_variable ]
!12 = !{i32 2, i32 0, !4, null}
!12 = !MDLocation(line: 2, scope: !4)

View File

@ -20,7 +20,7 @@ entry:
!9 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ]
!12 = !{!14}
!14 = !{!"0x34\00bar\00bar\00\002\001\001", !5, !6, !9, null, null} ; [ DW_TAG_variable ]
!15 = !{i32 3, i32 3, !16, null}
!15 = !MDLocation(line: 3, column: 3, scope: !16)
!16 = !{!"0xb\001\0011\000", !17, !5} ; [ DW_TAG_lexical_block ]
!17 = !{!"fb.c", !"/private/tmp"}
!18 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -23,9 +23,9 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!9 = !{!11}
!11 = !{!"0x101\00i\0016777219\000", !17, !5, !12} ; [ DW_TAG_arg_variable ]
!12 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ]
!13 = !{i32 3, i32 14, !5, null}
!14 = !{i32 4, i32 3, !15, null}
!13 = !MDLocation(line: 3, column: 14, scope: !5)
!14 = !MDLocation(line: 4, column: 3, scope: !15)
!15 = !{!"0xb\003\0017\000", !17, !5} ; [ DW_TAG_lexical_block ]
!16 = !{i32 5, i32 1, !15, null}
!16 = !MDLocation(line: 5, column: 1, scope: !15)
!17 = !{!"cf.c", !"/private/tmp"}
!18 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -11,14 +11,14 @@ entry:
!llvm.dbg.cu = !{!3}
!llvm.module.flags = !{!14}
!0 = !{i32 571, i32 3, !1, null}
!0 = !MDLocation(line: 571, column: 3, scope: !1)
!1 = !{!"0xb\001\001\000", !11, !2}; [DW_TAG_lexical_block ]
!2 = !{!"0x2e\00foo\00foo\00foo\00561\000\001\000\006\000\000\000", i32 0, !3, !4, null, null, null, null, null}; [DW_TAG_subprogram ]
!3 = !{!"0x11\0012\00clang 1.1\001\00\000\00\000", !11, !12, !12, !13, null, null}; [DW_TAG_compile_unit ]
!4 = !{!"0x15\00\000\000\000\000\000\000", null, !3, null, !5, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!5 = !{!6}
!6 = !{!"0x24\00char\000\008\008\000\000\006", null, !3} ; [ DW_TAG_base_type ]
!10 = !{i32 588, i32 1, !2, null}
!10 = !MDLocation(line: 588, column: 1, scope: !2)
!11 = !{!"hashtab.c", !"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libiberty"}
!12 = !{i32 0}
!13 = !{!2}

View File

@ -11,7 +11,7 @@ entry:
!llvm.module.flags = !{!5}
!2 = !{!"0x11\0032769\00clang version 3.3 \000\00\000\00\001", !4, !3, !3, !3, !3, !3} ; [ DW_TAG_compile_unit ] [/usr/local/google/home/blaikie/dev/scratch/scratch.cpp] [lang 0x8001]
!3 = !{}
!0 = !{i32 662302, i32 26, !1, null}
!0 = !MDLocation(line: 662302, column: 26, scope: !1)
!1 = !{i32 4, !"foo"}
!4 = !{!"scratch.cpp", !"/usr/local/google/home/blaikie/dev/scratch"}

View File

@ -55,13 +55,13 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!13 = !{!"0x15\00\000\000\000\000\000\000", !25, null, null, !14, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!14 = !{!8, !15}
!15 = !{!"0xf\00\000\0064\0064\000\0064", !25, !4, !9} ; [ DW_TAG_pointer_type ]
!16 = !{i32 3, i32 0, !1, null}
!17 = !{i32 3, i32 0, !3, null}
!16 = !MDLocation(line: 3, scope: !1)
!17 = !MDLocation(line: 3, scope: !3)
!18 = !{!"0x101\00this\003\000", !12, !10, !19} ; [ DW_TAG_arg_variable ]
!19 = !{!"0x26\00\000\0064\0064\000\0064", !25, !4, !20} ; [ DW_TAG_const_type ]
!20 = !{!"0xf\00\000\0064\0064\000\000", !25, !4, !9} ; [ DW_TAG_pointer_type ]
!21 = !{i32 3, i32 0, !12, null}
!22 = !{i32 3, i32 0, !23, null}
!21 = !MDLocation(line: 3, scope: !12)
!22 = !MDLocation(line: 3, scope: !23)
!23 = !{!"0xb\003\000\000", !26, !12} ; [ DW_TAG_lexical_block ]
!24 = !{!3, !12}
!25 = !{!"one.cc", !"/tmp/"}

View File

@ -84,11 +84,11 @@ entry:
!11 = !{!"0x15\00\000\000\000\000\000\000", !38, !3, null, !12, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!12 = !{!7, !13}
!13 = !{!"0xf\00\000\0064\0064\000\0064", !38, !3, !8} ; [ DW_TAG_pointer_type ]
!14 = !{i32 16, i32 5, !1, null}
!15 = !{i32 17, i32 3, !1, null}
!16 = !{i32 18, i32 1, !2, null}
!14 = !MDLocation(line: 16, column: 5, scope: !1)
!15 = !MDLocation(line: 17, column: 3, scope: !1)
!16 = !MDLocation(line: 18, column: 1, scope: !2)
!17 = !{!"0x101\00this\004\000", !10, !3, !13} ; [ DW_TAG_arg_variable ]
!18 = !{i32 4, i32 7, !10, null}
!18 = !MDLocation(line: 4, column: 7, scope: !10)
!19 = !{!"0x100\00a\009\000", !20, !3, !21} ; [ DW_TAG_auto_variable ]
!20 = !{!"0xb\004\0012\000", !38, !10} ; [ DW_TAG_lexical_block ]
!21 = !{!"0x2\00A\005\008\008\000\000\000", !38, !10, null, !22, null, null, null} ; [ DW_TAG_class_type ] [A] [line 5, size 8, align 8, offset 0] [def] [from ]
@ -97,15 +97,15 @@ entry:
!24 = !{!"0x15\00\000\000\000\000\000\000", !38, !3, null, !25, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!25 = !{!7, !26}
!26 = !{!"0xf\00\000\0064\0064\000\0064", !38, !3, !21} ; [ DW_TAG_pointer_type ]
!27 = !{i32 9, i32 7, !20, null}
!27 = !MDLocation(line: 9, column: 7, scope: !20)
!28 = !{!"0x100\00i\0010\000", !20, !3, !7} ; [ DW_TAG_auto_variable ]
!29 = !{i32 10, i32 9, !20, null}
!30 = !{i32 10, i32 5, !20, null}
!31 = !{i32 11, i32 5, !20, null}
!32 = !{i32 12, i32 3, !10, null}
!29 = !MDLocation(line: 10, column: 9, scope: !20)
!30 = !MDLocation(line: 10, column: 5, scope: !20)
!31 = !MDLocation(line: 11, column: 5, scope: !20)
!32 = !MDLocation(line: 12, column: 3, scope: !10)
!33 = !{!"0x101\00this\007\000", !23, !3, !26} ; [ DW_TAG_arg_variable ]
!34 = !{i32 7, i32 11, !23, null}
!35 = !{i32 7, i32 19, !36, null}
!34 = !MDLocation(line: 7, column: 11, scope: !23)
!35 = !MDLocation(line: 7, column: 19, scope: !36)
!36 = !{!"0xb\007\0017\000", !38, !23} ; [ DW_TAG_lexical_block ]
!38 = !{!"one.cc", !"/tmp" }
!39 = !{i32 0}

View File

@ -23,14 +23,14 @@ return: ; preds = %entry
!llvm.module.flags = !{!12}
!9 = !{!1}
!0 = !{i32 2, i32 0, !1, null}
!0 = !MDLocation(line: 2, scope: !1)
!1 = !{!"0x2e\00foo\00foo\00foo\002\000\001\000\006\000\000\002", !10, null, !4, null, i32 ()* @foo, null, null, null} ; [ DW_TAG_subprogram ]
!2 = !{!"0x29", !10} ; [ DW_TAG_file_type ]
!3 = !{!"0x11\001\004.2.1 (Based on Apple Inc. build 5658) (LLVM build)\000\00\000\00\000", !10, !11, !11, !9, null, null} ; [ DW_TAG_compile_unit ]
!4 = !{!"0x15\00\000\000\000\000\000\000", !10, !2, null, !5, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!5 = !{!6}
!6 = !{!"0x24\00int\000\0032\0032\000\000\005", !10, !2} ; [ DW_TAG_base_type ]
!7 = !{i32 2, i32 0, !8, null}
!7 = !MDLocation(line: 2, scope: !8)
!8 = !{!"0xb\002\000\000", !10, !1} ; [ DW_TAG_lexical_block ]
!10 = !{!"a.c", !"/tmp"}
!11 = !{i32 0}

View File

@ -31,8 +31,8 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!10 = !{!"0xf\00\000\0064\0064\000\000", !16, !2, !11} ; [ DW_TAG_pointer_type ]
!11 = !{!"0x16\00AppleEvent\004\000\000\000\000", !16, !2, !12} ; [ DW_TAG_typedef ]
!12 = !{!"0x13\00AEDesc\001\000\000\000\004\000", !16, !2, null, null, null, null, null} ; [ DW_TAG_structure_type ] [AEDesc] [line 1, size 0, align 0, offset 0] [decl] [from ]
!13 = !{i32 7, i32 0, !1, null}
!14 = !{i32 8, i32 0, !15, null}
!13 = !MDLocation(line: 7, scope: !1)
!14 = !MDLocation(line: 8, scope: !15)
!15 = !{!"0xb\007\000\000", !16, !1} ; [ DW_TAG_lexical_block ]
!16 = !{!"t.c", !"/Users/echeng/LLVM/radars/r7937664/"}
!17 = !{i32 0}

View File

@ -50,21 +50,21 @@ declare void @uuid_LtoB(i8*, i8*)
!llvm.dbg.cu = !{!4}
!llvm.module.flags = !{!41}
!0 = !{i32 808, i32 0, !1, null}
!0 = !MDLocation(line: 808, scope: !1)
!1 = !{!"0xb\00807\000\000", !39, !2} ; [ DW_TAG_lexical_block ]
!2 = !{!"0x2e\00gpt2gpm\00gpt2gpm\00gpt2gpm\00807\001\001\000\006\000\000\000", !39, null, !5, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!3 = !{!"0x29", !39} ; [ DW_TAG_file_type ]
!4 = !{!"0x11\001\00llvm-gcc\001\00\000\00\000", !39, !18, !18, !40, null, null} ; [ DW_TAG_compile_unit ]
!5 = !{!"0x15\00\000\000\000\000\000\000", !39, !3, null, !6, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!6 = !{null}
!7 = !{i32 810, i32 0, !1, null}
!7 = !MDLocation(line: 810, scope: !1)
!8 = !{!"0x101\00data\00201\000", !9, !10, !11} ; [ DW_TAG_arg_variable ]
!9 = !{!"0x2e\00_OSSwapInt64\00_OSSwapInt64\00_OSSwapInt64\00202\001\001\000\006\000\000\000", !10, null, !5, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!10 = !{!"0x29", !"OSByteOrder.h", !"/usr/include/libkern/ppc", !4} ; [ DW_TAG_file_type ]
!11 = !{!"0x16\00uint64_t\0059\000\000\000\000", !36, !3, !13} ; [ DW_TAG_typedef ]
!12 = !{!"0x29", !"stdint.h", !"/usr/4.2.1/include", !4} ; [ DW_TAG_file_type ]
!13 = !{!"0x24\00long long unsigned int\000\0064\0064\000\000\007", !39, !3} ; [ DW_TAG_base_type ]
!14 = !{i32 202, i32 0, !9, !7}
!14 = !MDLocation(line: 202, scope: !9, inlinedAt: !7)
!15 = !{!"0x101\00base\0092\000", !16, !10, !17} ; [ DW_TAG_arg_variable ]
!16 = !{!"0x2e\00OSReadSwapInt64\00OSReadSwapInt64\00OSReadSwapInt64\0095\001\001\000\006\000\000\000", !38, null, !5, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!17 = !{!"0xf\00\000\0032\0032\000\000", !39, !3, null} ; [ DW_TAG_pointer_type ]

View File

@ -22,7 +22,7 @@ return:
!16 = !{!2}
!17 = !{!10}
!0 = !{i32 3, i32 0, !1, null}
!0 = !MDLocation(line: 3, scope: !1)
!1 = !{!"0xb\002\000\000", !18, !2} ; [ DW_TAG_lexical_block ]
!2 = !{!"0x2e\00foo\00foo\00foo\002\000\001\000\006\000\000\000", !18, !3, !5, null, i32 ()* @foo, null, null, null} ; [ DW_TAG_subprogram ]
!3 = !{!"0x29", !18} ; [ DW_TAG_file_type ]
@ -30,7 +30,7 @@ return:
!5 = !{!"0x15\00\000\000\000\000\000\000", !18, !3, null, !6, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!6 = !{!7}
!7 = !{!"0x24\00int\000\0032\0032\000\000\005", !18, !3} ; [ DW_TAG_base_type ]
!8 = !{i32 3, i32 0, !9, null}
!8 = !MDLocation(line: 3, scope: !9)
!9 = !{!"0xb\002\000\000", !20, !10} ; [ DW_TAG_lexical_block ]
!10 = !{!"0x2e\00bar\00bar\00bar\002\000\001\000\006\000\000\000", !20, !11, !13, null, i32 ()* @bar, null, null, null} ; [ DW_TAG_subprogram ]
!11 = !{!"0x29", !20} ; [ DW_TAG_file_type ]

View File

@ -41,13 +41,13 @@ entry:
!14 = !{!"0xd\00a\0010\0032\0032\000\000", !27, !12, !5} ; [ DW_TAG_member ]
!15 = !{!"0xd\00b\0010\0032\0032\0032\000", !27, !12, !5} ; [ DW_TAG_member ]
!16 = !{!"0x34\00i\00i\00\005\000\001", !1, !1, !5, i32* @i, null} ; [ DW_TAG_variable ]
!17 = !{i32 15, i32 0, !18, null}
!17 = !MDLocation(line: 15, scope: !18)
!18 = !{!"0xb\0014\000\001", !1, !6} ; [ DW_TAG_lexical_block ]
!19 = !{i32 9, i32 0, !0, !17}
!19 = !MDLocation(line: 9, scope: !0, inlinedAt: !17)
!20 = !{}
!21 = !{i32 9, i32 0, !11, !17}
!22 = !{i32 11, i32 0, !11, !17}
!23 = !{i32 16, i32 0, !18, null}
!21 = !MDLocation(line: 9, scope: !11, inlinedAt: !17)
!22 = !MDLocation(line: 11, scope: !11, inlinedAt: !17)
!23 = !MDLocation(line: 16, scope: !18)
!24 = !{!9, !10}
!25 = !{!0, !6}
!26 = !{!16}

View File

@ -21,7 +21,7 @@ entry:
!6 = !{!"0x2e\00foo\00foo\00foo\007\001\001\000\006\000\001\000", !12, !1, !3, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!7 = !{!"0x100\00one\008\000", !8, !1, !5} ; [ DW_TAG_auto_variable ]
!8 = !{!"0xb\007\0018\000", !12, !6} ; [ DW_TAG_lexical_block ]
!9 = !{i32 4, i32 3, !10, null}
!9 = !MDLocation(line: 4, column: 3, scope: !10)
!10 = !{!"0xb\003\0011\000", !12, !0} ; [ DW_TAG_lexical_block ]
!11 = !{!"0x2e\00foo\00foo\00foo\007\001\000\000\006\000\001\000", !12, !1, !3, null, null, null, null, null} ; [ DW_TAG_subprogram ]
!12 = !{!"one.c", !"/private/tmp"}

View File

@ -20,7 +20,7 @@ declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32,
!2 = !{!"0x11\0016\00clang version 2.9 (trunk 115292)\001\00\001\00\000", !25, !26, !26, null, null, null} ; [ DW_TAG_compile_unit ]
!5 = !{!"0x16\00CGRect\0049\000\000\000\000", !25, null, null} ; [ DW_TAG_typedef ]
!23 = !{!"0x101\00rect\0053\000", !0, !1, !5} ; [ DW_TAG_arg_variable ]
!24 = !{i32 53, i32 33, !0, null}
!24 = !MDLocation(line: 53, column: 33, scope: !0)
!25 = !{!"GSFusedSilica.m", !"/Volumes/Data/Users/sabre/Desktop"}
!26 = !{i32 0}
!27 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -100,13 +100,13 @@ attributes #3 = { nounwind }
!36 = !{i32 2, !"Debug Info Version", i32 2}
!37 = !{!"clang version 3.6.0 (trunk 224279) (llvm/trunk 224283)"}
!38 = !{!"0x102"} ; [ DW_TAG_expression ]
!39 = !{i32 0, i32 0, !28, null}
!40 = !{i32 9, i32 0, !28, null}
!39 = !MDLocation(line: 0, scope: !28)
!40 = !MDLocation(line: 9, scope: !28)
!41 = !{!42, !42, i64 0}
!42 = !{!"vtable pointer", !43, i64 0}
!43 = !{!"Simple C/C++ TBAA"}
!44 = !{i32 0, i32 0, !32, null}
!44 = !MDLocation(line: 0, scope: !32)
!45 = !{!"0x101\00this\0016777216\001088", !28, null, !31, !46} ; [ DW_TAG_arg_variable ] [this] [line 0]
!46 = !{i32 9, i32 0, !32, null}
!47 = !{i32 0, i32 0, !28, !46}
!48 = !{i32 9, i32 0, !28, !46}
!46 = !MDLocation(line: 9, scope: !32)
!47 = !MDLocation(line: 0, scope: !28, inlinedAt: !46)
!48 = !MDLocation(line: 9, scope: !28, inlinedAt: !46)

View File

@ -59,7 +59,7 @@ attributes #3 = { nounwind optsize }
!12 = !{i32 2, !"Dwarf Version", i32 2}
!13 = !{i32 2, !"Debug Info Version", i32 2}
!14 = !{!"clang version 3.6.0 (trunk 223149) (llvm/trunk 223115)"}
!15 = !{i32 5, i32 3, !4, null}
!15 = !MDLocation(line: 5, column: 3, scope: !4)
!16 = !{!"0x102"} ; [ DW_TAG_expression ]
!17 = !{i32 4, i32 12, !4, null}
!18 = !{i32 8, i32 1, !4, null}
!17 = !MDLocation(line: 4, column: 12, scope: !4)
!18 = !MDLocation(line: 8, column: 1, scope: !4)

View File

@ -35,6 +35,6 @@ attributes #0 = { nounwind }
!5 = !{!"0x15\00\000\000\000\000\000\000", null, null, null, !6, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!6 = !{!7}
!7 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed]
!8 = !{i32 2, i32 0, !3, null}
!8 = !MDLocation(line: 2, scope: !3)
!9 = !{!"tmp.c", !"/home/tim/llvm/build"}
!10 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -65,6 +65,6 @@ attributes #1 = { nounwind readnone }
!15 = !{!"0xd\00e\007\0032\0032\00128\000", !1, !9, !8} ; [ DW_TAG_member ] [e] [line 7, size 32, align 32, offset 128] [from int]
!16 = !{i32 2, !"Dwarf Version", i32 2}
!17 = !{!"0x101\00f\0016777229\008192", !4, !5, !9} ; [ DW_TAG_arg_variable ] [f] [line 13]
!18 = !{i32 13, i32 0, !4, null}
!19 = !{i32 16, i32 0, !4, null}
!18 = !MDLocation(line: 13, scope: !4)
!19 = !MDLocation(line: 16, scope: !4)
!20 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -59,7 +59,7 @@ attributes #3 = { nounwind }
!15 = !{!"0x101\00\0067108867\000", !4, !6, !9} ; [ DW_TAG_arg_variable ] [line 3]
!16 = !{!"0x101\00x\0083886083\000", !4, !6, !10} ; [ DW_TAG_arg_variable ] [x] [line 3]
!17 = !{i32 2, !"Dwarf Version", i32 4}
!18 = !{i32 3, i32 0, !4, null}
!19 = !{i32 4, i32 0, !4, null}
!20 = !{i32 5, i32 0, !4, null}
!18 = !MDLocation(line: 3, scope: !4)
!19 = !MDLocation(line: 4, scope: !4)
!20 = !MDLocation(line: 5, scope: !4)
!21 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -103,13 +103,13 @@ attributes #3 = { nounwind }
!38 = !{i32 1, !"min_enum_size", i32 4}
!39 = !{!"clang version 3.6.0 (trunk 224279) (llvm/trunk 224283)"}
!40 = !{!"0x102"} ; [ DW_TAG_expression ]
!41 = !{i32 0, i32 0, !28, null}
!42 = !{i32 9, i32 0, !28, null}
!41 = !MDLocation(line: 0, scope: !28)
!42 = !MDLocation(line: 9, scope: !28)
!43 = !{!44, !44, i64 0}
!44 = !{!"vtable pointer", !45, i64 0}
!45 = !{!"Simple C/C++ TBAA"}
!46 = !{i32 0, i32 0, !32, null}
!46 = !MDLocation(line: 0, scope: !32)
!47 = !{!"0x101\00this\0016777216\001088", !28, null, !31, !48} ; [ DW_TAG_arg_variable ] [this] [line 0]
!48 = !{i32 9, i32 0, !32, null}
!49 = !{i32 0, i32 0, !28, !48}
!50 = !{i32 9, i32 0, !28, !48}
!48 = !MDLocation(line: 9, scope: !32)
!49 = !MDLocation(line: 0, scope: !28, inlinedAt: !48)
!50 = !MDLocation(line: 9, scope: !28, inlinedAt: !48)

View File

@ -89,15 +89,15 @@ attributes #1 = { nounwind readnone }
!19 = !{!"0xb\006\000\000", !5, !4} ; [ DW_TAG_lexical_block ] [/Volumes/Data/radar/15464571/test.c]
!20 = !{i32 2, !"Dwarf Version", i32 2}
!21 = !{!"clang version 3.4 "}
!22 = !{i32 1, i32 0, !4, null}
!23 = !{i32 3, i32 0, !4, null}
!24 = !{i32 4, i32 0, !4, null}
!25 = !{i32 5, i32 0, !4, null}
!22 = !MDLocation(line: 1, scope: !4)
!23 = !MDLocation(line: 3, scope: !4)
!24 = !MDLocation(line: 4, scope: !4)
!25 = !MDLocation(line: 5, scope: !4)
!26 = !{!27, !27, i64 0}
!27 = !{!"float", !28, i64 0}
!28 = !{!"omnipotent char", !29, i64 0}
!29 = !{!"Simple C/C++ TBAA"}
!30 = !{i32 6, i32 0, !19, null}
!31 = !{i32 7, i32 0, !19, null}
!32 = !{i32 8, i32 0, !4, null}
!30 = !MDLocation(line: 6, scope: !19)
!31 = !MDLocation(line: 7, scope: !19)
!32 = !MDLocation(line: 8, scope: !4)
!33 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -51,11 +51,11 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!8 = !{!"0x100\00y\008\000", !9, !2, !7} ; [ DW_TAG_auto_variable ]
!9 = !{!"0xb\007\0025\002", !18, !10} ; [ DW_TAG_lexical_block ]
!10 = !{!"0xb\007\003\001", !18, !6} ; [ DW_TAG_lexical_block ]
!11 = !{i32 6, i32 18, !6, null}
!12 = !{i32 7, i32 3, !6, null}
!13 = !{i32 8, i32 20, !9, null}
!14 = !{i32 7, i32 20, !10, null}
!15 = !{i32 10, i32 1, !6, null}
!11 = !MDLocation(line: 6, column: 18, scope: !6)
!12 = !MDLocation(line: 7, column: 3, scope: !6)
!13 = !MDLocation(line: 8, column: 20, scope: !9)
!14 = !MDLocation(line: 7, column: 20, scope: !10)
!15 = !MDLocation(line: 10, column: 1, scope: !6)
!16 = !{!1}
!17 = !{!5, !8}
!18 = !{!"k.cc", !"/private/tmp"}

View File

@ -91,4 +91,4 @@ attributes #0 = { nounwind sanitize_address "less-precise-fpmad"="false" "no-fra
!7 = !{i32 2, !"Dwarf Version", i32 4}
!8 = !{i32 1, !"Debug Info Version", i32 2}
!9 = !{!"clang version 3.5.0 "}
!10 = !{i32 2, i32 0, !4, null}
!10 = !MDLocation(line: 2, scope: !4)

View File

@ -251,6 +251,6 @@ attributes #2 = { nounwind }
!9 = !{i32 2, !"Dwarf Version", i32 4}
!10 = !{i32 1, !"Debug Info Version", i32 2}
!11 = !{!"clang version 3.5 "}
!12 = !{i32 4, i32 0, !4, null}
!13 = !{i32 5, i32 0, !4, null}
!14 = !{i32 6, i32 0, !4, null}
!12 = !MDLocation(line: 4, scope: !4)
!13 = !MDLocation(line: 5, scope: !4)
!14 = !MDLocation(line: 6, scope: !4)

View File

@ -40,4 +40,4 @@ attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"=
!8 = !{i32 2, !"Dwarf Version", i32 4}
!9 = !{i32 2, !"Debug Info Version", i32 2}
!10 = !{!"clang version 3.6.0 "}
!11 = !{i32 3, i32 0, !4, null}
!11 = !MDLocation(line: 3, scope: !4)

View File

@ -319,11 +319,11 @@ attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "
!9 = !{i32 2, !"Dwarf Version", i32 4}
!10 = !{i32 1, !"Debug Info Version", i32 2}
!11 = !{!"clang version 3.5 "}
!12 = !{i32 1, i32 0, !13, null}
!12 = !MDLocation(line: 1, scope: !13)
!13 = !{!"0xb\000", !14, !4} ; [ DW_TAG_lexical_block ] [D:\/one.c]
!14 = !{!"one.c", !"D:\5C"}
!15 = !{i32 2, i32 0, !16, null}
!15 = !MDLocation(line: 2, scope: !16)
!16 = !{!"0xb\000", !17, !4} ; [ DW_TAG_lexical_block ] [D:\/two.c]
!17 = !{!"two.c", !"D:\5C"}
!18 = !{i32 7, i32 0, !13, null}
!19 = !{i32 8, i32 0, !13, null}
!18 = !MDLocation(line: 7, scope: !13)
!19 = !MDLocation(line: 8, scope: !13)

View File

@ -596,11 +596,11 @@ attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "
!11 = !{i32 2, !"Dwarf Version", i32 4}
!12 = !{i32 1, !"Debug Info Version", i32 2}
!13 = !{!"clang version 3.5 "}
!14 = !{i32 4, i32 0, !4, null}
!15 = !{i32 5, i32 0, !4, null}
!16 = !{i32 8, i32 0, !9, null}
!17 = !{i32 9, i32 0, !9, null}
!18 = !{i32 12, i32 0, !10, null}
!19 = !{i32 13, i32 0, !10, null}
!20 = !{i32 14, i32 0, !10, null}
!21 = !{i32 15, i32 0, !10, null}
!14 = !MDLocation(line: 4, scope: !4)
!15 = !MDLocation(line: 5, scope: !4)
!16 = !MDLocation(line: 8, scope: !9)
!17 = !MDLocation(line: 9, scope: !9)
!18 = !MDLocation(line: 12, scope: !10)
!19 = !MDLocation(line: 13, scope: !10)
!20 = !MDLocation(line: 14, scope: !10)
!21 = !MDLocation(line: 15, scope: !10)

View File

@ -235,5 +235,5 @@ attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "
!9 = !{i32 2, !"Dwarf Version", i32 4}
!10 = !{i32 1, !"Debug Info Version", i32 2}
!11 = !{!"clang version 3.5 "}
!12 = !{i32 4, i32 0, !4, null}
!13 = !{i32 5, i32 0, !4, null}
!12 = !MDLocation(line: 4, scope: !4)
!13 = !MDLocation(line: 5, scope: !4)

View File

@ -72,7 +72,7 @@ attributes #2 = { nounwind }
!8 = !{i32 2, !"Dwarf Version", i32 4}
!9 = !{i32 1, !"Debug Info Version", i32 2}
!10 = !{!"clang version 3.5.0 "}
!11 = !{i32 8, i32 0, !4, null}
!12 = !{i32 9, i32 0, !4, null}
!13 = !{i32 4, i32 0, !7, null}
!14 = !{i32 5, i32 0, !7, null}
!11 = !MDLocation(line: 8, scope: !4)
!12 = !MDLocation(line: 9, scope: !4)
!13 = !MDLocation(line: 4, scope: !7)
!14 = !MDLocation(line: 5, scope: !7)

View File

@ -144,10 +144,10 @@ attributes #2 = { nounwind }
!10 = !{i32 2, !"Dwarf Version", i32 4}
!11 = !{i32 2, !"Debug Info Version", i32 2}
!12 = !{!"clang version 3.6.0 "}
!13 = !{i32 1, i32 12, !4, null}
!14 = !{i32 2, i32 53, !7, null}
!15 = !{i32 3, i32 44, !8, null}
!16 = !{i32 3, i32 50, !8, null}
!17 = !{i32 3, i32 44, !8, !18}
!18 = !{i32 4, i32 13, !9, null}
!19 = !{i32 4, i32 19, !9, null}
!13 = !MDLocation(line: 1, column: 12, scope: !4)
!14 = !MDLocation(line: 2, column: 53, scope: !7)
!15 = !MDLocation(line: 3, column: 44, scope: !8)
!16 = !MDLocation(line: 3, column: 50, scope: !8)
!17 = !MDLocation(line: 3, column: 44, scope: !8, inlinedAt: !18)
!18 = !MDLocation(line: 4, column: 13, scope: !9)
!19 = !MDLocation(line: 4, column: 19, scope: !9)

View File

@ -67,9 +67,9 @@ attributes #1 = { nounwind readnone }
!10 = !{i32 2, !"Debug Info Version", i32 2}
!11 = !{!"clang version 3.5.0"}
!12 = !{!"0x101\00x\0016777217\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [x] [line 1]
!13 = !{i32 1, i32 0, !4, null}
!14 = !{i32 2, i32 0, !15, null}
!13 = !MDLocation(line: 1, scope: !4)
!14 = !MDLocation(line: 2, scope: !15)
!15 = !{!"0xb\002\000\000", !1, !4} ; [ DW_TAG_lexical_block ] [/tmp/test.c]
!16 = !{i32 3, i32 0, !15, null}
!17 = !{i32 4, i32 0, !4, null}
!18 = !{i32 5, i32 0, !4, null}
!16 = !MDLocation(line: 3, scope: !15)
!17 = !MDLocation(line: 4, scope: !4)
!18 = !MDLocation(line: 5, scope: !4)

View File

@ -141,24 +141,24 @@ attributes #2 = { nounwind readnone }
!18 = !{i32 2, !"Dwarf Version", i32 4}
!19 = !{i32 2, !"Debug Info Version", i32 2}
!20 = !{!"clang version 3.5.0 "}
!21 = !{i32 6, i32 0, !17, !22}
!22 = !{i32 5, i32 0, !23, null}
!21 = !MDLocation(line: 6, scope: !17, inlinedAt: !22)
!22 = !MDLocation(line: 5, scope: !23)
!23 = !{!"0xb\005\000\003", !5, !12} ; [ DW_TAG_lexical_block ] [/tmp/dbginfo/PR20038.cpp]
!24 = !{i32 5, i32 0, !12, null}
!25 = !{i32 5, i32 0, !26, null}
!24 = !MDLocation(line: 5, scope: !12)
!25 = !MDLocation(line: 5, scope: !26)
!26 = !{!"0xb\005\000\001", !5, !12} ; [ DW_TAG_lexical_block ] [/tmp/dbginfo/PR20038.cpp]
!27 = !{i32 5, i32 0, !28, null}
!27 = !MDLocation(line: 5, scope: !28)
!28 = !{!"0xb\005\000\002", !5, !12} ; [ DW_TAG_lexical_block ] [/tmp/dbginfo/PR20038.cpp]
!29 = !{!"0x101\00this\0016777216\001088", !17, null, !30} ; [ DW_TAG_arg_variable ] [this] [line 0]
!30 = !{!"0xf\00\000\0064\0064\000\000", null, null, !"_ZTS1C"} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from _ZTS1C]
!31 = !{i32 0, i32 0, !17, !22}
!31 = !MDLocation(line: 0, scope: !17, inlinedAt: !22)
!32 = !{!"0x101\00this\0016777216\001088", !16, null, !30} ; [ DW_TAG_arg_variable ] [this] [line 0]
!33 = !{i32 0, i32 0, !16, !21}
!34 = !{i32 5, i32 0, !35, null}
!33 = !MDLocation(line: 0, scope: !16, inlinedAt: !21)
!34 = !MDLocation(line: 5, scope: !35)
!35 = !{!"0xb\005\000\005", !5, !36} ; [ DW_TAG_lexical_block ] [/tmp/dbginfo/PR20038.cpp]
!36 = !{!"0xb\005\000\004", !5, !12} ; [ DW_TAG_lexical_block ] [/tmp/dbginfo/PR20038.cpp]
!37 = !{i32 6, i32 0, !17, null}
!38 = !{i32 0, i32 0, !17, null}
!39 = !{i32 0, i32 0, !16, !37}
!40 = !{i32 0, i32 0, !16, null}
!41 = !{i32 6, i32 0, !16, null}
!37 = !MDLocation(line: 6, scope: !17)
!38 = !MDLocation(line: 0, scope: !17)
!39 = !MDLocation(line: 0, scope: !16, inlinedAt: !37)
!40 = !MDLocation(line: 0, scope: !16)
!41 = !MDLocation(line: 6, scope: !16)

View File

@ -67,5 +67,5 @@ attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "n
!9 = !{i32 2, !"Dwarf Version", i32 4}
!10 = !{i32 1, !"Debug Info Version", i32 2}
!11 = !{!"clang version 3.5 (http://llvm.org/git/clang.git 6a0714fee07fb7c4e32d3972b4fe2ce2f5678cf4) (llvm/ 672e88e934757f76d5c5e5258be41e7615094844)"}
!12 = !{i32 5, i32 0, !4, null}
!13 = !{i32 6, i32 0, !4, null}
!12 = !MDLocation(line: 5, scope: !4)
!13 = !MDLocation(line: 6, scope: !4)

View File

@ -71,12 +71,12 @@ declare i32 @printf(i8*, ...)
!18 = !{!"0xb\0018\0016\004", !29, !14} ; [ DW_TAG_lexical_block ] [/home/timnor01/a64-trunk/build/simple.c]
!19 = !{!"0x1\00\000\003200\0032\000\000", null, null, !10, !20, i32 0, null, null, null} ; [ DW_TAG_array_type ] [line 0, size 3200, align 32, offset 0] [from int]
!20 = !{!"0x21\000\0099"} ; [ DW_TAG_subrange_type ] [0, 99]
!22 = !{i32 19, i32 7, !18, null}
!22 = !MDLocation(line: 19, column: 7, scope: !18)
!23 = !{!"0x100\00val\0020\000", !18, !6, !10} ; [ DW_TAG_auto_variable ] [val] [line 20]
!24 = !{i32 20, i32 7, !18, null}
!25 = !{i32 22, i32 3, !18, null}
!26 = !{i32 23, i32 9, !18, null}
!27 = !{i32 24, i32 3, !18, null}
!28 = !{i32 26, i32 3, !18, null}
!24 = !MDLocation(line: 20, column: 7, scope: !18)
!25 = !MDLocation(line: 22, column: 3, scope: !18)
!26 = !MDLocation(line: 23, column: 9, scope: !18)
!27 = !MDLocation(line: 24, column: 3, scope: !18)
!28 = !MDLocation(line: 26, column: 3, scope: !18)
!29 = !{!"simple.c", !"/home/timnor01/a64-trunk/build"}
!30 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -44,9 +44,9 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!10 = !{!"0x13\00Y\004\0032\0032\000\000\000", !18, !2, null, !11, null, null, null} ; [ DW_TAG_structure_type ] [Y] [line 4, size 32, align 32, offset 0] [def] [from ]
!11 = !{!12}
!12 = !{!"0xd\00x\005\0032\0032\000\000", !18, !10, !6} ; [ DW_TAG_member ]
!13 = !{i32 7, i32 0, !1, null}
!13 = !MDLocation(line: 7, scope: !1)
!14 = !{!"0x101\00y\007\000", !1, !2, !9} ; [ DW_TAG_arg_variable ]
!15 = !{i32 7, i32 0, !16, null}
!15 = !MDLocation(line: 7, scope: !16)
!16 = !{!"0xb\007\000\000", !18, !1} ; [ DW_TAG_lexical_block ]
!17 = !{!1}
!18 = !{!"a.c", !"/tmp/"}

View File

@ -22,7 +22,7 @@ declare void @bar(i32)
!5 = !{!"0x27\00ro\00ro\00ro\001\001\001", !1, !1, !6, i32 201, null} ; [ DW_TAG_constant ]
!6 = !{!"0x26\00\000\000\000\000\000", !12, !1, !7} ; [ DW_TAG_const_type ]
!7 = !{!"0x24\00unsigned int\000\0032\0032\000\000\007", !12, !1} ; [ DW_TAG_base_type ]
!8 = !{i32 3, i32 14, !9, null}
!8 = !MDLocation(line: 3, column: 14, scope: !9)
!9 = !{!"0xb\003\0012\000", !12, !0} ; [ DW_TAG_lexical_block ]
!10 = !{!0}
!11 = !{!5}

View File

@ -31,9 +31,9 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!14 = !{!"0x34\00GLB\00GLB\00\001\000\001", null, !6, !9, i32* @GLB, null} ; [ DW_TAG_variable ]
!15 = !{!"0x100\00LOC\004\000", !16, !6, !9} ; [ DW_TAG_auto_variable ]
!16 = !{!"0xb\003\009\000", !20, !5} ; [ DW_TAG_lexical_block ]
!17 = !{i32 4, i32 9, !16, null}
!18 = !{i32 4, i32 23, !16, null}
!19 = !{i32 5, i32 5, !16, null}
!17 = !MDLocation(line: 4, column: 9, scope: !16)
!18 = !MDLocation(line: 4, column: 23, scope: !16)
!19 = !MDLocation(line: 5, column: 5, scope: !16)
!20 = !{!"test.c", !"/work/llvm/vanilla/test/DebugInfo"}
; CHECK: DW_TAG_variable

View File

@ -130,37 +130,37 @@ entry:
!45 = !{!"0x24"} ; [ DW_TAG_base_type ]
!46 = !{!"0x2e\00baz\00baz\00_ZN3bazC2Ei\006\000\001\000\006\00256\000\000", !82, null, !14, null, void (%struct.baz*, i32)* @_ZN3bazC2Ei, null, !13, null} ; [ DW_TAG_subprogram ] [line 6] [def] [scope 0] [baz]
!49 = !{!"0x101\00argc\0016777232\000", !29, !6, !12} ; [ DW_TAG_arg_variable ]
!50 = !{i32 16, i32 14, !29, null}
!50 = !MDLocation(line: 16, column: 14, scope: !29)
!51 = !{!"0x101\00argv\0033554448\000", !29, !6, !32} ; [ DW_TAG_arg_variable ]
!52 = !{i32 16, i32 27, !29, null}
!52 = !MDLocation(line: 16, column: 27, scope: !29)
!53 = !{!"0x100\00myBar\0018\000", !54, !6, !5} ; [ DW_TAG_auto_variable ]
!54 = !{!"0xb\0017\001\000", !82, !29} ; [ DW_TAG_lexical_block ]
!55 = !{i32 18, i32 9, !54, null}
!56 = !{i32 18, i32 17, !54, null}
!57 = !{i32 19, i32 5, !54, null}
!55 = !MDLocation(line: 18, column: 9, scope: !54)
!56 = !MDLocation(line: 18, column: 17, scope: !54)
!57 = !MDLocation(line: 19, column: 5, scope: !54)
!58 = !{!"0x101\00this\0016777229\0064", !37, !6, !24} ; [ DW_TAG_arg_variable ]
!59 = !{i32 13, i32 5, !37, null}
!59 = !MDLocation(line: 13, column: 5, scope: !37)
!60 = !{!"0x101\00x\0033554445\000", !37, !6, !12} ; [ DW_TAG_arg_variable ]
!61 = !{i32 13, i32 13, !37, null}
!62 = !{i32 13, i32 34, !37, null}
!61 = !MDLocation(line: 13, column: 13, scope: !37)
!62 = !MDLocation(line: 13, column: 34, scope: !37)
!63 = !{!"0x101\00this\0016777229\0064", !40, !6, !24} ; [ DW_TAG_arg_variable ]
!64 = !{i32 13, i32 5, !40, null}
!64 = !MDLocation(line: 13, column: 5, scope: !40)
!65 = !{!"0x101\00x\0033554445\000", !40, !6, !12} ; [ DW_TAG_arg_variable ]
!66 = !{i32 13, i32 13, !40, null}
!67 = !{i32 13, i32 33, !40, null}
!68 = !{i32 13, i32 34, !69, null}
!66 = !MDLocation(line: 13, column: 13, scope: !40)
!67 = !MDLocation(line: 13, column: 33, scope: !40)
!68 = !MDLocation(line: 13, column: 34, scope: !69)
!69 = !{!"0xb\0013\0033\001", !82, !40} ; [ DW_TAG_lexical_block ]
!70 = !{!"0x101\00this\0016777222\0064", !43, !6, !16} ; [ DW_TAG_arg_variable ]
!71 = !{i32 6, i32 5, !43, null}
!71 = !MDLocation(line: 6, column: 5, scope: !43)
!72 = !{!"0x101\00a\0033554438\000", !43, !6, !12} ; [ DW_TAG_arg_variable ]
!73 = !{i32 6, i32 13, !43, null}
!74 = !{i32 6, i32 24, !43, null}
!73 = !MDLocation(line: 6, column: 13, scope: !43)
!74 = !MDLocation(line: 6, column: 24, scope: !43)
!75 = !{!"0x101\00this\0016777222\0064", !46, !6, !16} ; [ DW_TAG_arg_variable ]
!76 = !{i32 6, i32 5, !46, null}
!76 = !MDLocation(line: 6, column: 5, scope: !46)
!77 = !{!"0x101\00a\0033554438\000", !46, !6, !12} ; [ DW_TAG_arg_variable ]
!78 = !{i32 6, i32 13, !46, null}
!79 = !{i32 6, i32 23, !46, null}
!80 = !{i32 6, i32 24, !81, null}
!78 = !MDLocation(line: 6, column: 13, scope: !46)
!79 = !MDLocation(line: 6, column: 23, scope: !46)
!80 = !MDLocation(line: 6, column: 24, scope: !81)
!81 = !{!"0xb\006\0023\002", !82, !46} ; [ DW_TAG_lexical_block ]
!82 = !{!"main.cpp", !"/Users/echristo/tmp/bad-struct-ref"}
!83 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -39,8 +39,8 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!12 = !{!13}
!13 = !{!"0xd\00b\001\0032\0032\000\000", !20, !11, !9} ; [ DW_TAG_member ]
!16 = !{!"0x101\00a\0016777219\000", !5, !6, !10} ; [ DW_TAG_arg_variable ]
!17 = !{i32 3, i32 13, !5, null}
!18 = !{i32 4, i32 3, !19, null}
!17 = !MDLocation(line: 3, column: 13, scope: !5)
!18 = !MDLocation(line: 4, column: 3, scope: !19)
!19 = !{!"0xb\003\0016\000", !20, !5} ; [ DW_TAG_lexical_block ]
!20 = !{!"foo.cpp", !"/Users/echristo"}
!21 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -105,12 +105,12 @@ attributes #2 = { ssp uwtable }
!25 = !{!"clang version 3.5.0 "}
!26 = !{!"0x101\00this\0016777216\001088", !17, null, !27} ; [ DW_TAG_arg_variable ] [this] [line 0]
!27 = !{!"0xf\00\000\0064\0064\000\000", null, null, !"_ZTS1A"} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from _ZTS1A]
!28 = !{i32 0, i32 0, !17, null}
!29 = !{i32 8, i32 0, !17, null}
!28 = !MDLocation(line: 0, scope: !17)
!29 = !MDLocation(line: 8, scope: !17)
!30 = !{!"0x101\00this\0016777216\001088", !18, null, !27} ; [ DW_TAG_arg_variable ] [this] [line 0]
!31 = !{i32 0, i32 0, !18, null}
!32 = !{i32 6, i32 0, !18, null}
!33 = !{i32 8, i32 0, !18, null}
!31 = !MDLocation(line: 0, scope: !18)
!32 = !MDLocation(line: 6, scope: !18)
!33 = !MDLocation(line: 8, scope: !18)
!34 = !{!"0x100\00a\0011\000", !19, !20, !"_ZTS1A"} ; [ DW_TAG_auto_variable ] [a] [line 11]
!35 = !{i32 11, i32 0, !19, null}
!36 = !{i32 12, i32 0, !19, null}
!35 = !MDLocation(line: 11, scope: !19)
!36 = !MDLocation(line: 12, scope: !19)

View File

@ -110,16 +110,16 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!5 = !{!"0x100\00x\005\000", !6, !1, !7} ; [ DW_TAG_auto_variable ]
!6 = !{!"0xb\004\0014\000", !23, !0} ; [ DW_TAG_lexical_block ]
!7 = !{!"0x24\00int\000\0032\0032\000\000\005", null, !2} ; [ DW_TAG_base_type ]
!8 = !{i32 6, i32 3, !6, null}
!8 = !MDLocation(line: 6, column: 3, scope: !6)
!12 = !{i32 1}
!13 = !{i32 7, i32 3, !6, null}
!14 = !{i32 8, i32 3, !6, null}
!15 = !{i32 9, i32 3, !6, null}
!13 = !MDLocation(line: 7, column: 3, scope: !6)
!14 = !MDLocation(line: 8, column: 3, scope: !6)
!15 = !MDLocation(line: 9, column: 3, scope: !6)
!16 = !{i32 2}
!17 = !{i32 10, i32 3, !6, null}
!18 = !{i32 11, i32 3, !6, null}
!19 = !{i32 12, i32 3, !6, null}
!20 = !{i32 13, i32 1, !6, null}
!17 = !MDLocation(line: 10, column: 3, scope: !6)
!18 = !MDLocation(line: 11, column: 3, scope: !6)
!19 = !MDLocation(line: 12, column: 3, scope: !6)
!20 = !MDLocation(line: 13, column: 1, scope: !6)
!21 = !{!0}
!22 = !{!5}
!23 = !{!"simple.c", !"/home/rengol01/temp/tests/dwarf/relocation"}

View File

@ -72,19 +72,19 @@ entry:
!20 = !{!"0x2e\00A\00A\00_ZN1AC2Ev\003\000\001\000\006\00256\000\003", !6, null, !11, null, void (%class.A*)* @_ZN1AC2Ev, null, !17, !1} ; [ DW_TAG_subprogram ] [line 3] [def] [A]
!21 = !{!"0x100\00a\008\000", !22, !6, !14} ; [ DW_TAG_auto_variable ] [a] [line 8]
!22 = !{!"0xb\007\0011\000", !6, !5} ; [ DW_TAG_lexical_block ] [/Users/echristo/debug-tests/bar.cpp]
!23 = !{i32 8, i32 5, !22, null}
!24 = !{i32 8, i32 6, !22, null}
!25 = !{i32 9, i32 3, !22, null}
!23 = !MDLocation(line: 8, column: 5, scope: !22)
!24 = !MDLocation(line: 8, column: 6, scope: !22)
!25 = !MDLocation(line: 9, column: 3, scope: !22)
!26 = !{!"0x101\00this\0016777219\001088", !10, !6, !27} ; [ DW_TAG_arg_variable ] [this] [line 3]
!27 = !{!"0xf\00\000\0064\0064\000\000", null, null, !14} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from A]
!28 = !{i32 3, i32 3, !10, null}
!29 = !{i32 3, i32 18, !10, null}
!28 = !MDLocation(line: 3, column: 3, scope: !10)
!29 = !MDLocation(line: 3, column: 18, scope: !10)
!30 = !{!"0x101\00this\0016777219\001088", !20, !6, !27} ; [ DW_TAG_arg_variable ] [this] [line 3]
!31 = !{i32 3, i32 3, !20, null}
!32 = !{i32 3, i32 9, !33, null}
!31 = !MDLocation(line: 3, column: 3, scope: !20)
!32 = !MDLocation(line: 3, column: 9, scope: !33)
!33 = !{!"0xb\003\007\001", !6, !20} ; [ DW_TAG_lexical_block ] [/Users/echristo/debug-tests/bar.cpp]
!34 = !{i32 3, i32 18, !33, null}
!35 = !{i32 7, i32 0, !5, null}
!34 = !MDLocation(line: 3, column: 18, scope: !33)
!35 = !MDLocation(line: 7, scope: !5)
!36 = !{!"0x101\00\0016777223\000", !5, !6, !9} ; [ DW_TAG_arg_variable ] [line 7]
!37 = !{!"bar.cpp", !"/Users/echristo/debug-tests"}
!38 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -36,7 +36,7 @@ entry:
!20 = !{!"0x34\00x\00x\00\005\001\001", !5, !6, !21, i32* @_ZZN3foo3barEvE1x, null} ; [ DW_TAG_variable ]
!21 = !{!"0x26\00\000\000\000\000\000", null, null, !22} ; [ DW_TAG_const_type ]
!22 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ]
!25 = !{i32 6, i32 1, !26, null}
!25 = !MDLocation(line: 6, column: 1, scope: !26)
!26 = !{!"0xb\004\0017\000", !6, !5} ; [ DW_TAG_lexical_block ]
!27 = !{!"nsNativeAppSupportBase.ii", !"/Users/espindola/mozilla-central/obj-x86_64-apple-darwin11.2.0/toolkit/library"}
!28 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -40,5 +40,5 @@ attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"=
!7 = !{!8}
!8 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed]
!9 = !{i32 2, !"Dwarf Version", i32 4}
!10 = !{i32 3, i32 0, !4, null}
!10 = !MDLocation(line: 3, scope: !4)
!11 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -37,7 +37,7 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
!9 = !{!"0x100\00x\002\000", !10, !6, !11} ; [ DW_TAG_auto_variable ]
!10 = !{!"0xb\001\0012\000", !14, !5} ; [ DW_TAG_lexical_block ]
!11 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ]
!12 = !{i32 2, i32 7, !10, null}
!13 = !{i32 3, i32 1, !10, null}
!12 = !MDLocation(line: 2, column: 7, scope: !10)
!13 = !MDLocation(line: 3, column: 1, scope: !10)
!14 = !{!"test.cc", !"/home/samsonov/debuginfo"}
!15 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -69,8 +69,8 @@ attributes #1 = { nounwind readnone }
!17 = !{!"0x26\00\000\000\000\000\000", null, null, !8} ; [ DW_TAG_const_type ] [line 0, size 0, align 0, offset 0] [from foo]
!18 = !{i32 786468}
!19 = !{!"0x101\00f\0016777222\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [f] [line 6]
!20 = !{i32 6, i32 0, !4, null}
!20 = !MDLocation(line: 6, scope: !4)
!21 = !{!"0x101\00g\0033554438\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [g] [line 6]
!22 = !{i32 7, i32 0, !4, null}
!23 = !{i32 8, i32 0, !4, null}
!22 = !MDLocation(line: 7, scope: !4)
!23 = !MDLocation(line: 8, scope: !4)
!24 = !{i32 1, !"Debug Info Version", i32 2}

View File

@ -88,14 +88,14 @@ attributes #2 = { nounwind readnone }
!25 = !{i32 2, !"Dwarf Version", i32 2}
!26 = !{i32 1, !"Debug Info Version", i32 2}
!27 = !{!"clang version 3.5.0 "}
!28 = !{i32 1, i32 0, !4, null}
!29 = !{i32 2, i32 0, !4, null}
!28 = !MDLocation(line: 1, scope: !4)
!29 = !MDLocation(line: 2, scope: !4)
!30 = !{!31, !31, i64 0}
!31 = !{!"int", !32, i64 0}
!32 = !{!"omnipotent char", !33, i64 0}
!33 = !{!"Simple C/C++ TBAA"}
!34 = !{i32 3, i32 0, !4, null}
!35 = !{i32 5, i32 0, !12, null}
!36 = !{i32 6, i32 0, !12, null}
!37 = !{i32 7, i32 0, !12, null}
!38 = !{i32 8, i32 0, !12, null}
!34 = !MDLocation(line: 3, scope: !4)
!35 = !MDLocation(line: 5, scope: !12)
!36 = !MDLocation(line: 6, scope: !12)
!37 = !MDLocation(line: 7, scope: !12)
!38 = !MDLocation(line: 8, scope: !12)

View File

@ -92,16 +92,16 @@ attributes #2 = { nounwind }
!17 = !{i32 1, !"Debug Info Version", i32 2}
!18 = !{!"clang version 3.5.0 "}
!19 = !{!"0x101\00p\0016777217\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [p] [line 1]
!20 = !{i32 1, i32 0, !4, null}
!21 = !{i32 2, i32 0, !4, null}
!22 = !{i32 3, i32 0, !4, null}
!20 = !MDLocation(line: 1, scope: !4)
!21 = !MDLocation(line: 2, scope: !4)
!22 = !MDLocation(line: 3, scope: !4)
!23 = !{!"0x101\00argc\0016777221\000", !10, !5, !9} ; [ DW_TAG_arg_variable ] [argc] [line 5]
!24 = !{i32 5, i32 0, !10, null}
!24 = !MDLocation(line: 5, scope: !10)
!25 = !{!"0x101\00argv\0033554437\000", !10, !5, !13} ; [ DW_TAG_arg_variable ] [argv] [line 5]
!26 = !{!"0x100\00array\006\000", !10, !5, !27} ; [ DW_TAG_auto_variable ] [array] [line 6]
!27 = !{!"0x1\00\000\00128\0032\000\000", null, null, !9, !28, i32 0, null, null, null} ; [ DW_TAG_array_type ] [line 0, size 128, align 32, offset 0] [from int]
!28 = !{!29}
!29 = !{!"0x21\000\004"} ; [ DW_TAG_subrange_type ] [0, 3]
!30 = !{i32 6, i32 0, !10, null}
!31 = !{i32 7, i32 0, !10, null}
!32 = !{i32 8, i32 0, !10, null}
!30 = !MDLocation(line: 6, scope: !10)
!31 = !MDLocation(line: 7, scope: !10)
!32 = !MDLocation(line: 8, scope: !10)

View File

@ -121,11 +121,11 @@ attributes #3 = { nounwind }
!63 = !{!"0xf\00\000\0064\0064\000\000", null, null, !11} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from ]
!64 = !{!"0xd\00DestroyFuncPtr\002\0064\0064\00192\000", !1, !58, !63} ; [ DW_TAG_member ] [DestroyFuncPtr] [line 2, size 64, align 64, offset 192] [from ]
!65 = !{!"0xd\00block\002\0064\0064\00256\003", !1, !5, !25} ; [ DW_TAG_member ] [block] [line 2, size 64, align 64, offset 256] [public] [from ]
!66 = !{i32 2, i32 20, !8, null}
!67 = !{i32 2, i32 21, !8, null}
!66 = !MDLocation(line: 2, column: 20, scope: !8)
!67 = !MDLocation(line: 2, column: 21, scope: !8)
!68 = !{!"0x100\00block\002\000", !8, !5, !25} ; [ DW_TAG_auto_variable ] [block] [line 2]
!69 = !{!"0x102\006\0034\0032"} ; [ DW_TAG_expression ] [DW_OP_deref]
!70 = !{i32 2, i32 9, !8, null}
!71 = !{i32 2, i32 23, !72, null}
!70 = !MDLocation(line: 2, column: 9, scope: !8)
!71 = !MDLocation(line: 2, column: 23, scope: !72)
!72 = !{!"0xb\002\0021\000", !1, !8} ; [ DW_TAG_lexical_block ] [/foo.m]
!73 = !{i32 2, i32 32, !8, null}
!73 = !MDLocation(line: 2, column: 32, scope: !8)

View File

@ -116,13 +116,13 @@ attributes #1 = { nounwind readnone }
!26 = !{i32 1, !"Objective-C Image Info Section", !"__DATA, __objc_imageinfo, regular, no_dead_strip"}
!27 = !{i32 4, !"Objective-C Garbage Collection", i32 0}
!28 = !{!"0x101\00self\0016777225\001088", !7, !5, !14} ; [ DW_TAG_arg_variable ] [self] [line 9]
!29 = !{i32 9, i32 0, !7, null}
!29 = !MDLocation(line: 9, scope: !7)
!30 = !{!"0x101\00_cmd\0033554441\0064", !7, !5, !31} ; [ DW_TAG_arg_variable ] [_cmd] [line 9]
!31 = !{!"0x16\00SEL\009\000\000\000\000", !1, null, !12} ; [ DW_TAG_typedef ] [SEL] [line 9, size 0, align 0, offset 0] [from ]
!32 = !{!"0x101\00otherBitmap\0050331657\000", !7, !5, !14} ; [ DW_TAG_arg_variable ] [otherBitmap] [line 9]
!33 = !{!"0x101\00info\0067108874\000", !7, !5, !15} ; [ DW_TAG_arg_variable ] [info] [line 10]
!34 = !{i32 10, i32 0, !7, null}
!34 = !MDLocation(line: 10, scope: !7)
!35 = !{!"0x101\00length\0083886091\000", !7, !5, !19} ; [ DW_TAG_arg_variable ] [length] [line 11]
!36 = !{i32 11, i32 0, !7, null}
!37 = !{i32 13, i32 0, !7, null}
!36 = !MDLocation(line: 11, scope: !7)
!37 = !MDLocation(line: 13, scope: !7)
!38 = !{i32 1, !"Debug Info Version", i32 2}

Some files were not shown because too many files have changed in this diff Show More