Displaying 6 results from an estimated 6 matches for "isscope".
2010 Aug 28
2
[LLVMdev] "Cannot fine DIE"
...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 errors disappear **
builder_....
2010 Aug 29
0
[LLVMdev] "Cannot fine DIE"
...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...
2012 Jan 20
1
[LLVMdev] context/scope of instruction
Am 20.01.2012 um 18:12 schrieb Devang Patel:
>
> On Jan 19, 2012, at 10:12 AM, Christian Jacobs wrote:
>
>> Hello,
>> I need to know how I get the LLVM::IDScope object of an instruction.
>>
>> My program contains:
>> call void (...)* @commit(), !dbg !16
>>
>> !16 = metadata !{i32 16, i32 5, metadata !8, null}
>>
>> !8 = metadata
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"
...h 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 th...