summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/llvm-pdbdump/ExternalSymbolDumper.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/tools/llvm-pdbdump/ExternalSymbolDumper.h')
-rw-r--r--contrib/llvm/tools/llvm-pdbdump/ExternalSymbolDumper.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/llvm/tools/llvm-pdbdump/ExternalSymbolDumper.h b/contrib/llvm/tools/llvm-pdbdump/ExternalSymbolDumper.h
new file mode 100644
index 0000000..d77b09c
--- /dev/null
+++ b/contrib/llvm/tools/llvm-pdbdump/ExternalSymbolDumper.h
@@ -0,0 +1,32 @@
+//===- ExternalSymbolDumper.h --------------------------------- *- C++ --*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_EXTERNALSYMBOLDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_EXTERNALSYMBOLDUMPER_H
+
+#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
+
+namespace llvm {
+
+class LinePrinter;
+
+class ExternalSymbolDumper : public PDBSymDumper {
+public:
+ ExternalSymbolDumper(LinePrinter &P);
+
+ void start(const PDBSymbolExe &Symbol);
+
+ void dump(const PDBSymbolPublicSymbol &Symbol) override;
+
+private:
+ LinePrinter &Printer;
+};
+}
+
+#endif
OpenPOWER on IntegriCloud