[BitCodeAnalyzer] Add a few missing TYPE_CODES and MODULE_CODE_COMDAT to GetCodeName
authorCraig Topper <craig.topper@intel.com>
Mon, 12 Oct 2020 21:49:27 +0000 (14:49 -0700)
committerCraig Topper <craig.topper@intel.com>
Mon, 12 Oct 2020 22:43:12 +0000 (15:43 -0700)
commita184c758b77dd6849eab2d46baa6a719780dd539
tree221da2abae40921d33ce86e7f4e6beb2b8491c67
parentd80ecdf27faf2c45a4264064ddfd5c4524dadce4
[BitCodeAnalyzer] Add a few missing TYPE_CODES and MODULE_CODE_COMDAT to GetCodeName

Happened to notice some of these printing as UnknownCode while running llvm-bcanalyzer on a bc file I had.

Differential Revision: https://reviews.llvm.org/D86900
llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
llvm/test/Bitcode/bcanalyzer-comdat.ll [new file with mode: 0644]
llvm/test/Bitcode/bcanalyzer-types.ll [new file with mode: 0644]