//
//===----------------------------------------------------------------------===//
-#include <utility>
#include "llvm/DebugInfo/PDB/IPDBSession.h"
#include "llvm/DebugInfo/PDB/PDBExtras.h"
#include "llvm/DebugInfo/PDB/PDBSymbolData.h"
#include "llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h"
-
#include "llvm/Support/Format.h"
+#include <utility>
using namespace llvm;
OS << stream_indent(Indent);
PDB_LocType Loc = getLocationType();
PDB_DataKind Kind = getDataKind();
- if (Level == PDB_DumpLevel::Compact) {
+ if (Level >= PDB_DumpLevel::Normal) {
switch (Loc) {
case PDB_LocType::Static: {
uint32_t RVA = getRelativeVirtualAddress();
OS << "???";
}
}
+
OS << "] ";
if (Kind == PDB_DataKind::Member || Kind == PDB_DataKind::StaticMember) {
uint32_t ClassId = getClassParentId();
OS << "::";
}
}
- OS << getName() << "\n";
- OS.flush();
+ OS << getName();
}
\ No newline at end of file