search for: dbgnode

Displaying 20 results from an estimated 26 matches for "dbgnode".

2015 Jan 19
3
[LLVMdev] Assertion: replaceAllUses of value with new value of different type! being thrown all of a sudden
> On 2015-Jan-19, at 12:38, Frédéric Riss <friss at apple.com> wrote: > > >> On Jan 19, 2015, at 12:04 PM, Christian Schafmeister <chris.schaf at verizon.net> wrote: >> >> >> I forgot to mention this in my initial email. >> >> The build of LLVM that I was using was commit a0d5d7aed8e177cea381b3d054d80c212ece9f2c >> The date on the
2015 Jan 17
2
[LLVMdev] Assertion: replaceAllUses of value with new value of different type! being thrown all of a sudden
...Here’s the most illuminating debugging information I could pull out of a frame: (lldb) frame #6: 0x0000000103a67c3e clasp_boehm_d`llvm::DIDescriptor::replaceAllUsesWith(this=0x00007fff5fb9e288, D=0x000000010985b330) + 254 at DebugInfo.cpp:399 396 MDNode *Node = const_cast<MDNode *>(DbgNode); 397 const MDNode *DN = D; 398 const Value *V = cast_or_null<Value>(DN); -> 399 Node->replaceAllUsesWith(const_cast<Value *>(V)); 400 MDNode::deleteTemporary(Node); 401 } 402 (lldb) print Node (llvm::MDNode *) $3 = 0x00000001180b74c0 (lldb) call Node...
2010 Nov 26
0
[LLVMdev] Next round of DWARF issues/questions
...*TheCU = getCompileUnit(InlinedSP); DIE *OriginDIE = TheCU->getDIE(InlinedSP); assert(OriginDIE && *"Unable to find Origin DIE!"*); addDIEEntry(ScopeDIE, dwarf::DW_AT_abstract_origin, *dwarf*::DW_FORM_ref4, OriginDIE); What's happening is that InlinedSP.DbgNode is NULL, which causes getCompileUnit() to assert. Note that this occurs in both llc and my linker (tartln) because they both use the same set of passes to generate machine code. So basically whenever I want to debug, I have to disable inlining. Devang >> >> >>> i6 4 m...
2015 Jan 19
2
[LLVMdev] Assertion: replaceAllUses of value with new value of different type! being thrown all of a sudden
...formation I could pull out of a frame: >> >> >> (lldb) >> frame #6: 0x0000000103a67c3e clasp_boehm_d`llvm::DIDescriptor::replaceAllUsesWith(this=0x00007fff5fb9e288, D=0x000000010985b330) + 254 at DebugInfo.cpp:399 >> 396 MDNode *Node = const_cast<MDNode *>(DbgNode); >> 397 const MDNode *DN = D; >> 398 const Value *V = cast_or_null<Value>(DN); >> -> 399 Node->replaceAllUsesWith(const_cast<Value *>(V)); >> 400 MDNode::deleteTemporary(Node); >> 401 } >> 402 >> (lldb) print Node >...
2013 Oct 11
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...x102e14090, Attribute=73, Entry=0x10302a9d0) at >> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >> #6 0x0000000100b040e0 in llvm::CompileUnit::addType (this=0x102e13ec0, >> Entity=0x102e14090, Ty={<llvm::DIScope> = {<llvm::DIDescriptor> = {DbgNode >> = 0x102e05f30}, <No data fields>}, <No data fields>}, Attribute=73) at >> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >> #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVariableDIE >> (this=0x102e13ec0, N=0x102e068c0...
2013 Oct 10
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...ry (this=0x103023600, Die=0x102e14090, Attribute=73, Entry=0x10302a9d0) at /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 #6 0x0000000100b040e0 in llvm::CompileUnit::addType (this=0x102e13ec0, Entity=0x102e14090, Ty={<llvm::DIScope> = {<llvm::DIDescriptor> = {DbgNode = 0x102e05f30}, <No data fields>}, <No data fields>}, Attribute=73) at /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVariableDIE (this=0x102e13ec0, N=0x102e068c0) at /Users/manmanren/llvm_git/llvm/...
2010 Nov 26
3
[LLVMdev] Next round of DWARF issues/questions
On Tue, Nov 9, 2010 at 9:04 AM, Devang Patel <dpatel at apple.com> wrote: > > > On Nov 8, 2010, at 10:52 PM, Talin <viridia at gmail.com> wrote: > > On Mon, Nov 8, 2010 at 9:56 AM, Devang Patel < <dpatel at apple.com> > dpatel at apple.com> wrote: > >> >> On Nov 6, 2010, at 7:35 PM, Talin wrote: >> >> After to speaking to Devang
2013 Oct 15
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...x102e14090, Attribute=73, Entry=0x10302a9d0) at >> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >> #6 0x0000000100b040e0 in llvm::CompileUnit::addType (this=0x102e13ec0, >> Entity=0x102e14090, Ty={<llvm::DIScope> = {<llvm::DIDescriptor> = {DbgNode >> = 0x102e05f30}, <No data fields>}, <No data fields>}, Attribute=73) at >> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >> #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVariableDIE >> (this=0x102e13ec0, N=0x102e068c0...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
..., > Die=0x102e14090, Attribute=73, Entry=0x10302a9d0) at > /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 > #6 0x0000000100b040e0 in llvm::CompileUnit::addType (this=0x102e13ec0, > Entity=0x102e14090, Ty={<llvm::DIScope> = {<llvm::DIDescriptor> = {DbgNode > = 0x102e05f30}, <No data fields>}, <No data fields>}, Attribute=73) at > /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 > #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVariableDIE > (this=0x102e13ec0, N=0x102e068c0) at > /Users...
2013 Oct 15
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
..., Entry=0x10302a9d0) at >>>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >>>> #6 0x0000000100b040e0 in llvm::CompileUnit::addType (this=0x102e13ec0, >>>> Entity=0x102e14090, Ty={<llvm::DIScope> = {<llvm::DIDescriptor> = {DbgNode >>>> = 0x102e05f30}, <No data fields>}, <No data fields>}, Attribute=73) at >>>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >>>> #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVariableDIE >>>>...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...Attribute=73, Entry=0x10302a9d0) at >>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >>> #6 0x0000000100b040e0 in llvm::CompileUnit::addType (this=0x102e13ec0, >>> Entity=0x102e14090, Ty={<llvm::DIScope> = {<llvm::DIDescriptor> = {DbgNode >>> = 0x102e05f30}, <No data fields>}, <No data fields>}, Attribute=73) at >>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >>> #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVariableDIE >>> (this=0x102e13ec...
2013 Oct 11
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
..., > Die=0x102e14090, Attribute=73, Entry=0x10302a9d0) at > /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 > #6 0x0000000100b040e0 in llvm::CompileUnit::addType (this=0x102e13ec0, > Entity=0x102e14090, Ty={<llvm::DIScope> = {<llvm::DIDescriptor> = {DbgNode > = 0x102e05f30}, <No data fields>}, <No data fields>}, Attribute=73) at > /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 > #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVariableDIE > (this=0x102e13ec0, N=0x102e068c0) at > /Users...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...gt;>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >>>>> #6 0x0000000100b040e0 in llvm::CompileUnit::addType >>>>> (this=0x102e13ec0, Entity=0x102e14090, Ty={<llvm::DIScope> = >>>>> {<llvm::DIDescriptor> = {DbgNode = 0x102e05f30}, <No data fields>}, <No >>>>> data fields>}, Attribute=73) at >>>>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >>>>> #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVariableDIE >&...
2013 Oct 15
1
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
.../Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >>>>>> #6 0x0000000100b040e0 in llvm::CompileUnit::addType >>>>>> (this=0x102e13ec0, Entity=0x102e14090, Ty={<llvm::DIScope> = >>>>>> {<llvm::DIDescriptor> = {DbgNode = 0x102e05f30}, <No data fields>}, <No data >>>>>> fields>}, Attribute=73) at >>>>>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >>>>>> #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVaria...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...gt;>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >>>>> #6 0x0000000100b040e0 in llvm::CompileUnit::addType >>>>> (this=0x102e13ec0, Entity=0x102e14090, Ty={<llvm::DIScope> = >>>>> {<llvm::DIDescriptor> = {DbgNode = 0x102e05f30}, <No data fields>}, <No >>>>> data fields>}, Attribute=73) at >>>>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >>>>> #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVariableDIE >&...
2013 Oct 15
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
.../Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >>>>>> #6 0x0000000100b040e0 in llvm::CompileUnit::addType >>>>>> (this=0x102e13ec0, Entity=0x102e14090, Ty={<llvm::DIScope> = >>>>>> {<llvm::DIDescriptor> = {DbgNode = 0x102e05f30}, <No data fields>}, <No >>>>>> data fields>}, Attribute=73) at >>>>>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >>>>>> #7 0x0000000100b05bff in llvm::CompileUnit::createGlobalVaria...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...nren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >>>>>>> #6 0x0000000100b040e0 in llvm::CompileUnit::addType >>>>>>> (this=0x102e13ec0, Entity=0x102e14090, Ty={<llvm::DIScope> = >>>>>>> {<llvm::DIDescriptor> = {DbgNode = 0x102e05f30}, <No data fields>}, <No >>>>>>> data fields>}, Attribute=73) at >>>>>>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >>>>>>> #7 0x0000000100b05bff in llvm::CompileUnit::creat...
2013 Oct 15
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...t/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:3071 >>>>>>>> #6 0x0000000100b040e0 in llvm::CompileUnit::addType >>>>>>>> (this=0x102e13ec0, Entity=0x102e14090, Ty={<llvm::DIScope> = >>>>>>>> {<llvm::DIDescriptor> = {DbgNode = 0x102e05f30}, <No data fields>}, <No >>>>>>>> data fields>}, Attribute=73) at >>>>>>>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >>>>>>>> #7 0x0000000100b05bff in >>>...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...odeGen/AsmPrinter/DwarfDebug.cpp:3071 >>>>>>>>> #6 0x0000000100b040e0 in llvm::CompileUnit::addType >>>>>>>>> (this=0x102e13ec0, Entity=0x102e14090, Ty={<llvm::DIScope> = >>>>>>>>> {<llvm::DIDescriptor> = {DbgNode = 0x102e05f30}, <No data fields>}, <No >>>>>>>>> data fields>}, Attribute=73) at >>>>>>>>> /Users/manmanren/llvm_git/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:910 >>>>>>>>> #7 0x0000000100b05bff in...
2013 Jun 25
0
[LLVMdev] Proposal: type uniquing of debug info for LTO
...erify - Verify that a subprogram descriptor is well formed. bool DISubprogram::Verify(int MAP) const { if (!isSubprogram()) return false; if (getContext() && !getContext().Verify()) return false; DICompositeType Ty = getType(); if (!Ty.Verify(MAP)) return false; return DbgNode->getNumOperands() == 20; } > Those parts of the codebase actually trying to handle debug info > should be handling valid debug info to begin with - we shouldn't need > to call "Verify" all over the place & behave differently (at most it > should be an assert - but...