search for: dw_tag_file_typ

Displaying 20 results from an estimated 28 matches for "dw_tag_file_typ".

Did you mean: dw_tag_file_type
2015 Feb 20
6
[LLVMdev] Questions before moving the new debug info hierarchy into place
...up with any such `DW_AT` so that will take some refactoring (and I don't think it makes sense for that to block moving the hierarchy into place).) Merging the two types of files ============================== In the old format, we have two types of files -- an untagged file node, and a DIFile/DW_TAG_file_type/0x29 which references the untagged node. !0 = !{!"path/to/file", !"/path/to/dir"} !1 = !{!"0x29", !0} In the actual metadata graph, most file references use !0, but in DIBuilder !1 is always passed in and the !0 is extracted from it. I've been planning...
2011 Dec 15
2
[LLVMdev] LLVM 2.9 metadata
...;, metadata !"foo", metadata !"", metadata !1, i32 1, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 0, i1 false, void ()* @foo} ; [ DW_TAG_subprogram ] !1 = metadata !{i32 589865, metadata !"foodbg.c", metadata !"/home/deldon/tmp", metadata !2} ; [ DW_TAG_file_type ] !2 = metadata !{i32 589841, i32 0, i32 12, metadata !"foodbg.c", metadata !"/home/deldon/tmp", metadata !"clang version 2.9 (tags/RELEASE_29/final)", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !3 = metadata !{i32 589845, metadata !1,...
2011 Mar 29
1
[LLVMdev] Accessing metadata & creating DIVariable
...t;> same, you don't need CU here. > > If I don't have a di.createCompileUnit.  di.createFile fails with this message. > > DIBuilder.cpp:59: llvm::DIFile > llvm::DIBuilder::createFile(llvm::StringRef, llvm::StringRef): > Assertion `TheCU && "Unable to create DW_TAG_file_type without > CompileUnit"' failed. > > Which had me scratching my head, If DIFile needs a CU it  would be an > argument to DIBuilder::.createFile > Also type.Verify() thought createBasicType succeeds. I meant type.Verify() fails, though the call creatBasicType succeeds.
2011 Mar 28
3
[LLVMdev] Accessing metadata & creating DIVariable
Hi, I am wondering if someone can guide me in adding metadata to IR which already contains some metadata. I am trying to add dbg.declare inst for a local variable I added to a function. I used the DIBuilder to build a DIVariable. When I try to compile llc fails with following message. llc: MCAsmStreamer.cpp:273: virtual void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion
2011 Apr 27
1
[LLVMdev] LLVM internal getDirectory() for LexicalBlock debug information returns filename?
...", metadata !"", metadata !1, i32 9, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, void (i32*, i32*)* @init, null} ; [ DW_TAG_subprogram ] !1 = metadata !{i32 589865, metadata !"conv.c", metadata !"/home1/martijn/hello", metadata !2} ; [ DW_TAG_file_type ] !2 = metadata !{i32 589841, i32 0, i32 12, metadata !"conv.c", metadata !"/home1/martijn/hello", metadata !"clang version 3.0 (trunk)", i1 true, i1 true, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] ... !14 = metadata !{i32 589835, metadata !0, i32...
2010 Jul 14
2
[LLVMdev] Trying to access the user defined variable name
...!"f", metadata !"f", metadata !2, i32 2, metadata !4, i1 false, i1 true, i32 0, i32 0, null, i1 false, i1 false} ; [ DW_TAG_subprogram ] !2 = metadata !{i32 524329, metadata !"testadd.c", metadata !"/home/asudarsanam/perforce/llvmtop/setup", metadata !3} ; [ DW_TAG_file_type ] !3 = metadata !{i32 524305, i32 0, i32 12, metadata !"testadd.c", metadata !".", metadata !"clang 2.0", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !4 = metadata !{i32 524309, metadata !2, metadata !"", metadata !2, i32 0, i...
2011 Dec 15
0
[LLVMdev] LLVM 2.9 metadata
...!"foo", metadata !"", metadata !1, i32 1, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 0, i1 false, void ()* @foo} ; [ DW_TAG_subprogram ] > > !1 = metadata !{i32 589865, metadata !"foodbg.c", metadata !"/home/deldon/tmp", metadata !2} ; [ DW_TAG_file_type ] > !2 = metadata !{i32 589841, i32 0, i32 12, metadata !"foodbg.c", metadata !"/home/deldon/tmp", metadata !"clang version 2.9 (tags/RELEASE_29/final)", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] > > !3 = metadata !{i32 5898...
2011 Dec 16
2
[LLVMdev] LLVM 2.9 metadata
...a !"foo", metadata !"", metadata !1, i32 1, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 0, i1 false, void ()* @foo} ; [ DW_TAG_subprogram ] > > !1 = metadata !{i32 589865, metadata !"foodbg.c", metadata !"/home/deldon/tmp", metadata !2} ; [ DW_TAG_file_type ] > !2 = metadata !{i32 589841, i32 0, i32 12, metadata !"foodbg.c", metadata !"/home/deldon/tmp", metadata !"clang version 2.9 (tags/RELEASE_29/final)", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] > > !3 = metadata !{i32 58984...
2011 Apr 30
2
[LLVMdev] DWARF not being generated for local variable, though MD looks right(?)
..., metadata !"foo___", metadata !1, i32 4, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 0, i1 true, i32 (<4 x i32>)* @foo___, null, null} ; [ DW_TAG_subprogram ] !1 = metadata !{i32 589865, metadata !"a.c", metadata !"/Users/mmp/foo/", metadata !2} ; [ DW_TAG_file_type ] !2 = metadata !{i32 589841, i32 0, i32 12, metadata !"a.c", metadata !"/Users/mmp/foo", metadata !"foo", i1 true, i1 true, metadata !"-g", i32 0} ; [ DW_TAG_compile_unit ] !3 = metadata !{i32 589860, metadata !2, metadata !"int32", null, i32 0, i...
2011 Aug 16
1
[LLVMdev] Missing metadata for volatile variables
...metadata !"main", metadata !1, i32 1, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i32 0, i1 false, null} ; [ DW_TAG_subprogram ] !1 = metadata !{i32 589865, metadata !"source.c", metadata !"/afs/cs.wisc.edu/u/c/r/crubio/trunk/post/tests/test1", metadata !2} ; [ DW_TAG_file_type ] !2 = metadata !{i32 589841, i32 0, i32 1, metadata !"source.c", metadata !"post/tests/test1", metadata !"4.5.2", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !3 = metadata !{i32 589845, metadata !1, metadata !"", metadata !1,...
2011 Dec 29
2
[LLVMdev] DW_AT_location not getting generated for local variables
...32 0, i1 false, i32 ()* @"\01_main", null, null, metadata !11} ; [ DW_TAG_subprogram ] !6 = metadata !{i32 720953, null, metadata !"__main__", metadata !7, i32 1} ; [ DW_TAG_namespace ] !7 = metadata !{i32 720937, metadata !"foo.clay", metadata !"", null} ; [ DW_TAG_file_type ] !8 = metadata !{i32 720917, i32 0, metadata !"", i32 0, i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !9, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] !9 = metadata !{metadata !10} !10 = metadata !{i32 720932, null, metadata !"Int32", null, i32 0, i64 32, i64 32, i64 0, i3...
2010 Jul 15
0
[LLVMdev] Trying to access the user defined variable name
...!"f", metadata !2, i32 2, metadata !4, i1 > false, i1 true, i32 0, i32 0, null, i1 false, i1 false} ; [ > DW_TAG_subprogram ] > !2 = metadata !{i32 524329, metadata !"testadd.c", metadata > !"/home/asudarsanam/perforce/llvmtop/setup", metadata !3} ; [ > DW_TAG_file_type ] > !3 = metadata !{i32 524305, i32 0, i32 12, metadata !"testadd.c", > metadata !".", metadata !"clang 2.0", i1 true, i1 false, metadata !"", > i32 0} ; [ DW_TAG_compile_unit ] > !4 = metadata !{i32 524309, metadata !2, metadata !"", m...
2012 Jan 02
0
[LLVMdev] DW_AT_location not getting generated for local variables
..."\01_main", null, null, > metadata !11} ; [ DW_TAG_subprogram ] > !6 = metadata !{i32 720953, null, metadata !"__main__", metadata !7, i32 1} > ; [ DW_TAG_namespace ] > !7 = metadata !{i32 720937, metadata !"foo.clay", metadata !"", null} ; [ > DW_TAG_file_type ] > !8 = metadata !{i32 720917, i32 0, metadata !"", i32 0, i32 0, i64 0, i64 0, > i32 0, i32 0, i32 0, metadata !9, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] > !9 = metadata !{metadata !10} > !10 = metadata !{i32 720932, null, metadata !"Int32", null, i32 0, i64 3...
2011 Mar 29
0
[LLVMdev] Accessing metadata & creating DIVariable
...need CU here. >> >> If I don't have a di.createCompileUnit. di.createFile fails with this message. >> >> DIBuilder.cpp:59: llvm::DIFile >> llvm::DIBuilder::createFile(llvm::StringRef, llvm::StringRef): >> Assertion `TheCU && "Unable to create DW_TAG_file_type without >> CompileUnit"' failed. >> >> Which had me scratching my head, If DIFile needs a CU it would be an >> argument to DIBuilder::.createFile >> Also type.Verify() thought createBasicType succeeds. > > I meant type.Verify() fails, though the call...
2011 May 02
0
[LLVMdev] DWARF not being generated for local variable, though MD looks right(?)
...adata !"foo___", metadata !1, i32 4, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 0, i1 true, i32 (<4 x i32>)* @foo___, null, null} ; [ DW_TAG_subprogram ] > !1 = metadata !{i32 589865, metadata !"a.c", metadata !"/Users/mmp/foo/", metadata !2} ; [ DW_TAG_file_type ] > !2 = metadata !{i32 589841, i32 0, i32 12, metadata !"a.c", metadata !"/Users/mmp/foo", metadata !"foo", i1 true, i1 true, metadata !"-g", i32 0} ; [ DW_TAG_compile_unit ] > !3 = metadata !{i32 589860, metadata !2, metadata !"int32", null...
2012 Jan 16
2
[LLVMdev] Need more information on llvm.dbg.value call
...oo", metadata !"", metadata !1, i32 5, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, void (i32)* @foo} ; [ DW_TAG_subprogram ] !1 = metadata !{i32 589865, metadata !"localvar.c", metadata !"/home/deldon/Work/OpenCL/DEBUG", metadata !2} ; [ DW_TAG_file_type ] !2 = metadata !{i32 589841, i32 0, i32 12, metadata !"localvar.c", metadata !"/home/deldon/Work/OpenCL/DEBUG", metadata !"clang version 2.9 (tags/RELEASE_29/final)", i1 true, i1 true, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !3 = metadata !{i32 58984...
2012 Mar 02
2
[LLVMdev] Question on debug information
...etadata !{i32 589841, i32 0, i32 2, metadata !"check.c", metadata !".", metadata !" Seb Rel Dev-r02.27", i1 1, i1 0, metadata !"", i32 0} ; DW_TAG_compile_unit !1 = metadata !{i32 589865, metadata !"check.c", metadata !".", metadata !0} ; DW_TAG_file_type !2 = metadata !{i32 589845, metadata !1, metadata !"", metadata !1, i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, null, i32 0, i32 0} ; DW_TAG_subroutine_type !3 = metadata !{i32 589870, i32 0, metadata !1, metadata !"check", metadata !"check", metadata !"", m...
2012 Jul 27
2
[LLVMdev] llvm dwarf debug info for locals with llvm.dbg.define
...ot;Main", metadata !"", metadata !6, i32 10, metadata !7, i1 true, i1 true, i32 0, i32 0, null, i32 0, i1 false, i32 ()* @main, null, null, metadata !1, i32 10} ; [ DW_TAG_subprogram ] !6 = metadata !{i32 786473, metadata !"meh.c", metadata !"/path/", null} ; [ DW_TAG_file_type ] !7 = metadata !{i32 786453, i32 0, metadata !"", i32 0, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !8, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] !8 = metadata !{metadata !9} !9 = metadata !{i32 786468, null, metadata !"int", null, i32 0, i64 32, i64 32, i64 0, i32...
2012 Mar 06
0
[LLVMdev] Question on debug information
..., i32 0, i32 2, metadata !"check.c", metadata > !".", metadata !" Seb Rel Dev-r02.27", i1 1, i1 0, metadata !"", i32 0} ; > DW_TAG_compile_unit > !1 = metadata !{i32 589865, metadata !"check.c", metadata !".", metadata > !0} ; DW_TAG_file_type > !2 = metadata !{i32 589845, metadata !1, metadata !"", metadata !1, i32 > 0, i64 0, i64 0, i32 0, i32 0, i32 0, null, i32 0, i32 0} ; > DW_TAG_subroutine_type > !3 = metadata !{i32 589870, i32 0, metadata !1, metadata !"check", > metadata !"check",...
2012 Feb 28
0
[LLVMdev] inspecting value of formal parameter in gdb for x86
...foo", metadata !"", metadata !1, i32 6, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, void (i32)* @foo} ; [ DW_TAG_subprogram ] !1 = metadata !{i32 589865, metadata !"argpass.c", metadata !"/home/deldon/Work/OpenCL/DEBUG", metadata !2} ; [ DW_TAG_file_type ] !2 = metadata !{i32 589841, i32 0, i32 12, metadata !"argpass.c", metadata !"/home/deldon/Work/OpenCL/DEBUG", metadata !"clang version 2.9 (tags/RELEASE_29/final)", i1 true, i1 true, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !3 = metadata !{i32 589845...