mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
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
33 lines
784 B
C++
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
|