diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2017-06-27 23:50:11 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-06-27 23:50:11 +0000 |
| commit | 92648c25a451bbb547ea22a88481bef9526d727b (patch) | |
| tree | fb9efa637d2f2fcaf4e9b1c78a0780244e251e98 /llvm/tools | |
| parent | 53ed867da88baf0beb48038183f4b8a125c700b9 (diff) | |
| download | bcm5719-llvm-92648c25a451bbb547ea22a88481bef9526d727b.tar.gz bcm5719-llvm-92648c25a451bbb547ea22a88481bef9526d727b.zip | |
Bitcode: Write the irsymtab to disk.
Differential Revision: https://reviews.llvm.org/D33973
llvm-svn: 306487
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp b/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp index 22bc6f7043e..528247c2dbc 100644 --- a/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp +++ b/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp @@ -125,6 +125,7 @@ static const char *GetBlockName(unsigned BlockID, return "FULL_LTO_GLOBALVAL_SUMMARY_BLOCK"; case bitc::MODULE_STRTAB_BLOCK_ID: return "MODULE_STRTAB_BLOCK"; case bitc::STRTAB_BLOCK_ID: return "STRTAB_BLOCK"; + case bitc::SYMTAB_BLOCK_ID: return "SYMTAB_BLOCK"; } } @@ -393,6 +394,11 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID, default: return nullptr; case bitc::STRTAB_BLOB: return "BLOB"; } + case bitc::SYMTAB_BLOCK_ID: + switch(CodeID) { + default: return nullptr; + case bitc::SYMTAB_BLOB: return "BLOB"; + } } #undef STRINGIFY_CODE } |

