[llvm-commits] Patch proposal: DIDescriptor constructors

Renato Golin renato.golin at arm.com
Wed Jul 28 01:36:36 PDT 2010


Debug info in LLVM is now done by passing small objects, rather than
pointers. To some degree it works, but it's difficult to pass derived
objects into functions that would expect base ones.

For that purpose, I have added a few constructors to DIDescriptor to
enable that functionality without changing the way the debug
infrastructure works, but that doesn't work in the opposite direction.

Patch extracted from yesterday's (Tue, 27 Jul, 2010) trunk.

cheers,
--renato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug-info.patch
Type: text/x-patch
Size: 1787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100728/b2ef5888/attachment.bin>


More information about the llvm-commits mailing list