Index: tools/llvm-pdbutil/PrettyFunctionDumper.cpp =================================================================== --- tools/llvm-pdbutil/PrettyFunctionDumper.cpp +++ tools/llvm-pdbutil/PrettyFunctionDumper.cpp @@ -227,7 +227,7 @@ // through to the real thing and dump it. uint32_t TypeId = Symbol.getTypeId(); auto Type = Symbol.getSession().getSymbolById(TypeId); - if (Type) + if (!Type) Printer << ""; else Type->dump(*this);