[WebAssembly] Fix debug printing of symbol types

The Info.Kind field is a uint8_t which the OS was
trying to print as an ascii char.

llvm-svn: 331317
This commit is contained in:
Sam Clegg 2018-05-01 23:28:27 +00:00
parent 6aa5dcdcb2
commit 63e3af838c
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public:
}
void print(raw_ostream &Out) const {
Out << "Name=" << Info.Name << ", Kind=" << Info.Kind
Out << "Name=" << Info.Name << ", Kind=" << int(Info.Kind)
<< ", Flags=" << Info.Flags;
if (!isTypeData()) {
Out << ", ElemIndex=" << Info.ElementIndex;