I can't reproduce this compilation failure so I can't really
test this fix.
llvm-svn: 342784
LLVM_MARK_AS_BITMASK_ENUM(/* LargestValue = */ All)
};
-template <typename T>
-void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent) {
- OS << "\n";
- OS.indent(Indent);
- OS << Name << ": " << Value;
-}
-
void dumpSymbolIdField(raw_ostream &OS, StringRef Name, SymIndexId Value,
int Indent, const IPDBSession &Session,
PdbSymbolIdField FieldId, PdbSymbolIdField ShowFlags,
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/PDB/PDBTypes.h"
+#include "llvm/Support/raw_ostream.h"
+
#include <unordered_map>
namespace llvm {
raw_ostream &operator<<(raw_ostream &OS, const VersionInfo &Version);
raw_ostream &operator<<(raw_ostream &OS, const TagStats &Stats);
+
+template <typename T>
+void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent) {
+ OS << "\n";
+ OS.indent(Indent);
+ OS << Name << ": " << Value;
+}
+
+
} // end namespace pdb
} // end namespace llvm