Displaying 2 results from an estimated 2 matches for "subprogramdesc".
2007 Nov 13
0
[LLVMdev] DISerializer question
...t the lifetime of the debug object.
>From the implementation of DISerialiser, It seems to me I need to keep all
my debug information object alive until the end of the compilation unit
(until the destruction/last use of the instance of DISerialiser). For
example, I would need to keep all the SubprogramDesc for all the functions
from the translation unit. Have I correctly understood?
(the problem is that the map of the serialized data is keyed by the address
of the descriptor. If the descriptor is deleted, a new (and different)
descriptor could take the same address and cause an hard to find bug....
2007 Apr 30
1
[LLVMdev] llvm-gcc build broken
...9;
was not declared in this scope
/projects/compiler/llvm-gcc/gcc/llvm-debug.h:74: error: template
argument 1 is invalid
/projects/compiler/llvm-gcc/gcc/llvm-debug.h:74: error: template
argument 2 is invalid
/projects/compiler/llvm-gcc/gcc/llvm-debug.h:76: error: ISO C++ forbids
declaration of `SubprogramDesc' with no type
/projects/compiler/llvm-gcc/gcc/llvm-debug.h:76: error: expected `;'
before `*' token
/projects/compiler/llvm-gcc/gcc/llvm-debug.h:87: error: expected `;'
before `(' token
/projects/compiler/llvm-gcc/gcc/llvm-debug.h:91: error: expected `;'
before `(' to...