llvm-6502/tools/llvm-pdbdump/ExternalSymbolDumper.h
Zachary Turner 7c69a58214 [llvm-pdbdump] Support dynamic load address and external symbols.
This patch adds the --load-address command line option to
llvm-pdbdump, which dumps all addresses assuming the module has
loaded at the specified address.

Additionally, this patch adds an option to llvm-pdbdump to support
dumping of public symbols (i.e. symbols with external linkage).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236342 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-01 20:24:26 +00:00

33 lines
784 B
C++

//===- 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