IR: Add helper to split debug info flags bitfield
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 21 Feb 2015 00:45:26 +0000 (00:45 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 21 Feb 2015 00:45:26 +0000 (00:45 +0000)
commit269e38d3976a15113cf72a04a559c1d124ac5dc6
treedb67fa111d215170a0f2da0df4b980873361d700
parentc22a5c2c6c519d9a5d25bc52b8b26ccebff62264
IR: Add helper to split debug info flags bitfield

Split debug info 'flags' bitfield over a vector so the current flags can
be iterated over.  This API (in combination with r230107) will be used
for assembly support for symbolic constants.

llvm-svn: 230108
llvm/include/llvm/IR/DebugInfo.h
llvm/lib/IR/DebugInfo.cpp
llvm/unittests/IR/DebugInfoTest.cpp