OSDN Git Service

AsmWriter: Split out code for printing Metadata attachments, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Apr 2015 20:59:52 +0000 (20:59 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Apr 2015 20:59:52 +0000 (20:59 +0000)
commit61317d57df145c9392951c124876c7a58e66c1d1
tree895a237321292eb1580e17cc95c8e32d6a3bf5e1
parent7a301c1b8c96770cc946a128b41d79402354fe3f
AsmWriter: Split out code for printing Metadata attachments, NFC

Refactor the code for printing `Instruction` metadata attachments so it
can be reused for `Function`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235772 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/AsmWriter.cpp