Displaying 5 results from an estimated 5 matches for "modulesource".
2010 Aug 28
2
[LLVMdev] "Cannot fine DIE"
...ed 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 errors disappear **
builder_.SetCurrentDebugLocation(
DebugLoc::get(pos.beginLine, pos.beginCol, dbgContext_));
}
}
}
As noted in the comment above, if I comment out the line that...
2010 Aug 29
0
[LLVMdev] "Cannot fine DIE"
...eGenerator::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 errors disappear **
> builder_.SetCurrentDebugLocation(
> DebugLoc::get(pos.beginLine, pos.beginCol, dbgContext_));
> }
> }
> }
>
> As noted in the c...
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"
...Location(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 errors disappear **
>> builder_.SetCurrentDebugLocation(
>> DebugLoc::get(pos.beginLine, pos.beginCol, dbgContext_));
>> }
>> }
>> }...