2015-02-06 20:30:52 +00:00
|
|
|
//===- PDBSymbolExe.h - Accessors for querying executables in a PDB ----*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
2015-02-08 00:29:29 +00:00
|
|
|
|
2015-02-06 20:30:52 +00:00
|
|
|
#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
|
|
|
|
#define LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
|
|
|
|
|
|
|
|
#include "PDBSymbol.h"
|
|
|
|
#include "PDBTypes.h"
|
2015-02-13 09:09:03 +00:00
|
|
|
#include <string>
|
2015-02-06 20:30:52 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2015-02-08 00:29:29 +00:00
|
|
|
class raw_ostream;
|
|
|
|
|
2015-02-06 20:30:52 +00:00
|
|
|
class PDBSymbolExe : public PDBSymbol {
|
|
|
|
public:
|
2015-02-08 22:53:53 +00:00
|
|
|
PDBSymbolExe(const IPDBSession &PDBSession,
|
2015-02-08 20:58:09 +00:00
|
|
|
std::unique_ptr<IPDBRawSymbol> ExeSymbol);
|
2015-02-06 20:30:52 +00:00
|
|
|
|
2015-02-12 21:09:24 +00:00
|
|
|
DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Exe)
|
|
|
|
|
2015-02-15 20:27:53 +00:00
|
|
|
void dump(raw_ostream &OS, int Indent, PDB_DumpLevel Level, PDB_DumpFlags Flags) const override;
|
2015-02-08 00:29:29 +00:00
|
|
|
|
2015-02-06 20:30:52 +00:00
|
|
|
FORWARD_SYMBOL_METHOD(getAge)
|
|
|
|
FORWARD_SYMBOL_METHOD(getGuid)
|
|
|
|
FORWARD_SYMBOL_METHOD(hasCTypes)
|
|
|
|
FORWARD_SYMBOL_METHOD(hasPrivateSymbols)
|
|
|
|
FORWARD_SYMBOL_METHOD(getMachineType)
|
|
|
|
FORWARD_SYMBOL_METHOD(getName)
|
|
|
|
FORWARD_SYMBOL_METHOD(getSignature)
|
|
|
|
FORWARD_SYMBOL_METHOD(getSymbolsFileName)
|
|
|
|
FORWARD_SYMBOL_METHOD(getSymIndexId)
|
2015-02-14 03:54:28 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void dumpChildren(raw_ostream &OS, StringRef Label, PDB_SymType ChildType,
|
|
|
|
int Indent) const;
|
2015-02-06 20:30:52 +00:00
|
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
|