[PATCH] Wire up external debug type references in LLVM

Adrian Prantl aprantl at apple.com
Tue Jul 14 12:13:29 PDT 2015


Hi Eric & David,

this patch implements bare-bones LVM support for external type references as previously discussed in http://reviews.llvm.org/D9612.
This is a necessary prerequisite for bootstrapping the emission of debug info inside modules.

- Add a FlagExternalTypeRef to DICompositeType. External types must have a unique identifier.
- External type references are emitted in the short form DW_AT_type([DW_FORM_ref_sig8]) but the long form with an indirect reference is also supported (see test case for examples).

thanks,
-- adrian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: exttypes.diff
Type: application/octet-stream
Size: 10093 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150714/d2a4b449/attachment.obj>


More information about the llvm-commits mailing list