[PATCH] AsmWriter/Bitcode: Support specialized debug nodes

Duncan P. N. Exon Smith dexonsmith at apple.com
Mon Feb 9 18:25:26 PST 2015


> On 2015-Feb-06, at 16:26, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
> 
> Assuming the two outstanding reviews go through without change ("IR: Add
> specialized debug info metadata nodes" and "Support: Add
> dwarf::getVirtuality()"), I'm ready to commit assembly/bitcode support
> for all the specialized nodes.

The blocking reviews are complete, and there were a few changes to the
hierarchy, so I've rebased everything on top of r228652.

> (This isn't the end goal; this just models the current schema.)
> 
> Although these augment the assembly syntax, they're fairly obvious and
> mechanical, and (so far) are unreachable by any current frontend.  (I'm
> mostly looking for a rubber stamp here, but feel free to dig deeper!)
> 
>  - all.patch: The whole thing.  Should apply cleanly on top of the
>    patches in the reviews mentioned above.  Not actually that big.

(Now applies cleanly to r228652.)

>  - 0001: a prep commit.

(Committed in r228644.)

>  - 0002-0021: Assembly/bitcode support for each node type.

(Now numbered 0001-0020.)

If someone could take a quick look to confirm there's nothing too
surprising in here I'd appreciate it!

> 
> The next step (after these patches) is to move the classes into place
> underneath the `DIDescriptor` hierarchy.  I'm starting work now on the
> testcase updates to come (I'll attach the upgrade script I use to
> PR22464 once it's written).
> 
> After that we can start improving the hierarchy, adjusting the schema,
> etc.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: all.patch
Type: application/octet-stream
Size: 126390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment.obj>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AsmWriter-Bitcode-MDSubrange.patch
Type: application/octet-stream
Size: 10977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-AsmWriter-Bitcode-MDEnumerator.patch
Type: application/octet-stream
Size: 7976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-AsmWriter-Bitcode-MDBasicType.patch
Type: application/octet-stream
Size: 8576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-AsmWriter-MDBasicType-Recognize-DW_ATE-in-encoding.patch
Type: application/octet-stream
Size: 6415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-AsmWriter-Bitcode-MDFile.patch
Type: application/octet-stream
Size: 9064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-AsmWriter-Bitcode-MDDerivedType-and-MDCompositeType.patch
Type: application/octet-stream
Size: 20315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-AsmWriter-MDCompositeType-Recognize-DW_LANG-in-runti.patch
Type: application/octet-stream
Size: 10387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-AsmWriter-Bitcode-MDSubroutineType.patch
Type: application/octet-stream
Size: 7235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-AsmWriter-Bitcode-MDCompileUnit.patch
Type: application/octet-stream
Size: 14341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-AsmWriter-Bitcode-MDSubprogram.patch
Type: application/octet-stream
Size: 16550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-AsmWriter-MDSubprogram-Recognize-DW_VIRTUALITY-in-vi.patch
Type: application/octet-stream
Size: 7445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0011.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-AsmWriter-Bitcode-MDLexicalBlock.patch
Type: application/octet-stream
Size: 7549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0012.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-AsmWriter-Bitcode-MDLexicalBlockFile.patch
Type: application/octet-stream
Size: 8619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0013.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-AsmWriter-Bitcode-MDNamespace.patch
Type: application/octet-stream
Size: 8155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0014.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-AsmWriter-Bitcode-MDTemplate-Type-Value-Parameter.patch
Type: application/octet-stream
Size: 16402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0015.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-AsmWriter-Bitcode-MDGlobalVariable.patch
Type: application/octet-stream
Size: 11299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0016.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0017-AsmWriter-Bitcode-MDLocalVariable.patch
Type: application/octet-stream
Size: 10779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0017.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-AsmWriter-Bitcode-MDExpression.patch
Type: application/octet-stream
Size: 6937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0018.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-AsmWriter-Bitcode-MDObjCProperty.patch
Type: application/octet-stream
Size: 9569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0019.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0020-AsmWriter-Bitcode-MDImportedEntity.patch
Type: application/octet-stream
Size: 9143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5d382571/attachment-0020.obj>


More information about the llvm-commits mailing list