forked from OSchip/llvm-project
[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:
parent
6aa5dcdcb2
commit
63e3af838c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue