mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Make llvm-bcanalyzer print out the full enum name for all metadata
code ids, not just some of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108543 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a79fcb55b
commit
43906f920a
@ -259,11 +259,11 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
|
||||
case bitc::METADATA_BLOCK_ID:
|
||||
switch(CodeID) {
|
||||
default:return 0;
|
||||
case bitc::METADATA_STRING: return "MDSTRING";
|
||||
case bitc::METADATA_NODE: return "MDNODE";
|
||||
case bitc::METADATA_FN_NODE: return "FN_MDNODE";
|
||||
case bitc::METADATA_STRING: return "METADATA_STRING";
|
||||
case bitc::METADATA_NODE: return "METADATA_NODE";
|
||||
case bitc::METADATA_FN_NODE: return "METADATA_FN_NODE";
|
||||
case bitc::METADATA_NAME: return "METADATA_NAME";
|
||||
case bitc::METADATA_NAMED_NODE: return "NAMEDMDNODE";
|
||||
case bitc::METADATA_NAMED_NODE: return "METADATA_NAMED_NODE";
|
||||
case bitc::METADATA_KIND: return "METADATA_KIND";
|
||||
case bitc::METADATA_ATTACHMENT: return "METADATA_ATTACHMENT";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user