[PATCH] AsmWriter/Bitcode: Support specialized debug nodes

Duncan P. N. Exon Smith dexonsmith at apple.com
Fri Feb 6 16:26:21 PST 2015


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.

(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.
  - 0001: a prep commit.
  - 0002-0021: Assembly/bitcode support for each node type.

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: 131798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment.obj>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AsmParser-Add-stubs-for-specialized-MDNodes-NFC.patch
Type: application/octet-stream
Size: 8729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0001.obj>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-AsmWriter-Bitcode-MDSubrange.patch
Type: application/octet-stream
Size: 10977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-AsmWriter-Bitcode-MDEnumerator.patch
Type: application/octet-stream
Size: 7976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-AsmWriter-Bitcode-MDBasicType.patch
Type: application/octet-stream
Size: 8576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-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/20150206/c3d3b862/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-AsmWriter-Bitcode-MDFile.patch
Type: application/octet-stream
Size: 9064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-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/20150206/c3d3b862/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-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/20150206/c3d3b862/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-AsmWriter-Bitcode-MDSubroutineType.patch
Type: application/octet-stream
Size: 7235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-AsmWriter-Bitcode-MDCompileUnit.patch
Type: application/octet-stream
Size: 14341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-AsmWriter-Bitcode-MDSubprogram.patch
Type: application/octet-stream
Size: 16550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0011.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-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/20150206/c3d3b862/attachment-0012.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-AsmWriter-Bitcode-MDLexicalBlock.patch
Type: application/octet-stream
Size: 7549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0013.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-AsmWriter-Bitcode-MDLexicalBlockFile.patch
Type: application/octet-stream
Size: 8619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0014.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-AsmWriter-Bitcode-MDNamespace.patch
Type: application/octet-stream
Size: 8155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0015.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-AsmWriter-Bitcode-MDTemplate-Type-Value-Parameter.patch
Type: application/octet-stream
Size: 18416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0016.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0017-AsmWriter-Bitcode-MDGlobalVariable.patch
Type: application/octet-stream
Size: 11299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0017.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-AsmWriter-Bitcode-MDLocalVariable.patch
Type: application/octet-stream
Size: 10779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0018.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-AsmWriter-Bitcode-MDExpression.patch
Type: application/octet-stream
Size: 7928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0019.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0020-AsmWriter-Bitcode-MDObjCProperty.patch
Type: application/octet-stream
Size: 9569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0020.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-AsmWriter-Bitcode-MDImportedEntity.patch
Type: application/octet-stream
Size: 9143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150206/c3d3b862/attachment-0021.obj>
-------------- next part --------------






More information about the llvm-commits mailing list