[LLVMdev] Identical types with distinct names

Reid Spencer reid at x10sys.com
Wed Jan 26 14:07:36 PST 2005


I think you'd have to change VMCore to make that happen and it could
cause problems with linking, etc. LLVM counts structurally equivalent
types as identical and I think violating that premise would break
things. This is probably a question best answered by Chris. He'll be
back tomorrow.

Reid.

On Wed, 2005-01-26 at 11:10, Ben Payne wrote:
> Hi,
> 
> I'm writing a frontend and I'd like to be able to provide
> names to struct types that mirror the names of the classes in
> the source language.  Unfortunately, some of these generated
> structs are sometimes identical for distinct classes, and so
> LLVM forces them to have the same type and same name.  
> 
> This makes debugging kind of confusing.  Is there some way to
> get the behavior I want without having to add bogus extra
> components to my structs to distinguish them?
> 
> Thanks,
> Ben
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050126/005dbdaf/attachment.sig>


More information about the llvm-dev mailing list