search for: dbglocation_

Displaying 5 results from an estimated 5 matches for "dbglocation_".

2010 Aug 28
2
[LLVMdev] "Cannot fine DIE"
...compiler generated code. > > I've discovered a little bit more, but not enough to solve the problem. Here's what my code looks like for setting the debug location (some details removed for clarity): void CodeGenerator::setDebugLocation(const SourceLocation & loc) { if (loc != dbgLocation_ && dbgContext_.isScope()) { dbgLocation_ = loc; if (loc.file == NULL) { builder_.SetCurrentDebugLocation(llvm::DebugLoc()); } else if (loc.file == module_->moduleSource()) { TokenPosition pos = tokenPosition(loc); // ** Comment out this line and the DIE erro...
2010 Aug 29
0
[LLVMdev] "Cannot fine DIE"
...gt;> I've discovered a little bit more, but not enough to solve the problem. > > Here's what my code looks like for setting the debug location (some details > removed for clarity): > > void CodeGenerator::setDebugLocation(const SourceLocation & loc) { > if (loc != dbgLocation_ && dbgContext_.isScope()) { > dbgLocation_ = loc; > if (loc.file == NULL) { > builder_.SetCurrentDebugLocation(llvm::DebugLoc()); > } else if (loc.file == module_->moduleSource()) { > TokenPosition pos = tokenPosition(loc); > // ** Comment...
2010 Aug 24
0
[LLVMdev] "Cannot fine DIE"
On Sun, Aug 22, 2010 at 12:50 PM, Talin <viridia at gmail.com> wrote: > I recently started getting this error when I try to debug my LLVM-compiled > program in GDB: > > Dwarf Error: Cannot find DIE at 0x16769 referenced from DIE at 0x1713c > [in module > /home/talin/Projects/tart/build-eclipse/test/stdlib/ReflectionTest] > > I'm not sure if it's something
2010 Aug 22
2
[LLVMdev] "Cannot fine DIE"
I recently started getting this error when I try to debug my LLVM-compiled program in GDB: Dwarf Error: Cannot find DIE at 0x16769 referenced from DIE at 0x1713c [in module /home/talin/Projects/tart/build-eclipse/test/stdlib/ReflectionTest] I'm not sure if it's something I did or not. Is there any way to track down the cause of this error? The hex addresses in the error message are
2010 Sep 01
2
[LLVMdev] "Cannot fine DIE"
...red a little bit more, but not enough to solve the problem. >> >> Here's what my code looks like for setting the debug location (some >> details removed for clarity): >> >> void CodeGenerator::setDebugLocation(const SourceLocation & loc) { >> if (loc != dbgLocation_ && dbgContext_.isScope()) { >> dbgLocation_ = loc; >> if (loc.file == NULL) { >> builder_.SetCurrentDebugLocation(llvm::DebugLoc()); >> } else if (loc.file == module_->moduleSource()) { >> TokenPosition pos = tokenPosition(loc); >...