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)
commit8629ae24e7fb14a9cadc5fc11dcbf262d665592f
tree13b8b4af85e8b9e5c419c468dac405b342d8b963
parent2e19fabc2637638f74aaf7f41581cac0b2cfa48c
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230108 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h
lib/IR/DebugInfo.cpp
unittests/IR/DebugInfoTest.cpp