Displaying 5 results from an estimated 5 matches for "debuginfodesc".
2008 Nov 17
1
[LLVMdev] getting debug type info
Hi,
Is there a way to get all the basic and derived types defined in a C++ module?
I was looking through MachineModuleInfo class but it seems that I need to first
get hold of a Value before being able to get its DebugInfoDesc.
Thanks,
Alvin
2006 Mar 15
0
[LLVMdev] Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
Hi,
Here is the follow on patch for this problem. Please apply this from
the top of the tree and rebuild.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: op
Type: application/octet-stream
Size: 2548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060315/eee8a766/attachment.obj>
-------------- next part
2006 Mar 16
2
[LLVMdev] Re: Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
...mes from line 274 of MachineDebugInfo.cpp:
virtual void Apply(std::string &Field) {
if (Field.empty()) {
Elements.push_back(NULL);
} else {
Elements.push_back(SR.getString(Field));
}
}
Which comes from this:
void TypeDesc::ApplyToFields(DIVisitor *Visitor) {
DebugInfoDesc::ApplyToFields(Visitor);
Visitor->Apply(Context);
Visitor->Apply(Name);
Name is empty. Here's a minimal testcase that reproduces the crash:
unsigned __clz_tab[] = {0};
just invoke cc1 as given in the beginning of this email with this text as
input.
The problem is that l...
2006 Mar 15
2
[LLVMdev] Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
On Wed, 15 Mar 2006, Vladimir Prus wrote:
>> Please give it a try and let me know if it works any better for you!
>
> Here we go:
Wow, you are good at finding problems! Thanks!
> -fvisibility=hidden -DHIDE_EXPORTS
> -c ../../2006-03-14-llvm-gcc-4/gcc/libgcc2.c -o libgcc/./_fixunsxfdi.o
> cc1: /space/p2/ghost/build/llvm-cvs/include/llvm/Instructions.h:72: void
>
2007 Apr 30
1
[LLVMdev] llvm-gcc build broken
...`;'
before `*' token
/projects/compiler/llvm-gcc/gcc/llvm-debug.h:73: error: ISO C++ forbids
declaration of `AnchorDesc' with no type
/projects/compiler/llvm-gcc/gcc/llvm-debug.h:73: error: expected `;'
before `*' token
/projects/compiler/llvm-gcc/gcc/llvm-debug.h:74: error: `DebugInfoDesc'
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 o...