search for: builder_

Displaying 6 results from an estimated 6 matches for "builder_".

Did you mean: builder
2010 Aug 28
2
[LLVMdev] "Cannot fine DIE"
...lem. 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 errors disappear ** builder_.SetCurrentDebugLocation( DebugLoc::get(pos.beginLine, pos.begi...
2010 Aug 29
0
[LLVMdev] "Cannot fine DIE"
...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 errors disappear ** > builder_.SetCurrentDebugLocation( > DebugLoc::ge...
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 (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 errors disappear ** >> builder_.SetCurrentDebugLocation( >>...
2007 Apr 09
4
How do i switch off error wrapping for a specific field?
Hi, i have some issues with the default rails error wrapping. It wraps errors in a div with class ''fieldsWithError'', which is not good practice in my eyes. Adding a class ''error'' to the field would be much nicer. My solution to the problem: build your own FormBuilder. Funny enough, i found no (nice) possibility to switch error wrapping off while using the