Add support for printing out the attribute groups.
authorBill Wendling <isanbard@gmail.com>
Mon, 11 Feb 2013 08:43:33 +0000 (08:43 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 11 Feb 2013 08:43:33 +0000 (08:43 +0000)
commit829b478980bfa37de591e3a87328e7fe040f03ab
tree7e3b6eb961d8ac466c1c50d6f95d7de35d7ea83b
parent832d3c2fac83ef5e0c23d8463f36a23f19e4394f
Add support for printing out the attribute groups.

This emits the attribute groups that are used by the functions. (It currently
doesn't print out return type or parameter attributes within attribute groups.)

Note: The functions still retrieve their attributes from the "old" bitcode
format (using the deprecated 'Raw()' method). This means that string attributes
within an attribute group will not show up during a disassembly. This will be
addressed in a future commit.

llvm-svn: 174867
llvm/include/llvm/IR/Attributes.h
llvm/lib/IR/AsmWriter.cpp
llvm/lib/IR/AttributeImpl.h
llvm/lib/IR/Attributes.cpp