LLVM  8.0.1
PDBSymbolCompilandDetails.h
Go to the documentation of this file.
1 //===- PDBSymbolCompilandDetails.h - PDB compiland details ------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDDETAILS_H
11 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDDETAILS_H
12 
13 #include "PDBSymbol.h"
14 #include "PDBTypes.h"
15 
16 namespace llvm {
17 
18 class raw_ostream;
19 namespace pdb {
20 
23 public:
24  void dump(PDBSymDumper &Dumper) const override;
25 
27  RawSymbol->getFrontEndVersion(Version);
28  }
29 
31  RawSymbol->getBackEndVersion(Version);
32  }
33 
34  FORWARD_SYMBOL_METHOD(getCompilerName)
35  FORWARD_SYMBOL_METHOD(isEditAndContinueEnabled)
37  FORWARD_SYMBOL_METHOD(hasManagedCode)
38  FORWARD_SYMBOL_METHOD(hasSecurityChecks)
39  FORWARD_SYMBOL_METHOD(isCVTCIL)
40  FORWARD_SYMBOL_METHOD(isDataAligned)
41  FORWARD_SYMBOL_METHOD(isHotpatchable)
42  FORWARD_SYMBOL_METHOD(isLTCG)
43  FORWARD_SYMBOL_METHOD(isMSILNetmodule)
45  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
46  FORWARD_SYMBOL_METHOD(getPlatform)
47  FORWARD_SYMBOL_METHOD(getSourceFileName)
48 };
49 
50 } // namespace llvm
51 }
52 
53 #endif // LLVM_DEBUGINFO_PDB_PDBFUNCTION_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:51
IPDBRawSymbol * RawSymbol
Definition: PDBSymbol.h:166
This class represents lattice values for constants.
Definition: AllocatorList.h:24
virtual void getFrontEndVersion(VersionInfo &Version) const =0
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:20
void getBackEndVersion(VersionInfo &Version) const
unsigned getLanguage(StringRef LanguageString)
Definition: Dwarf.cpp:311
static bool hasDebugInfo(const MachineModuleInfo *MMI, const MachineFunction *MF)
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
Definition: PDBSymbol.h:74
virtual void getBackEndVersion(VersionInfo &Version) const =0
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:39
void getFrontEndVersion(VersionInfo &Version) const
const uint64_t Version
Definition: InstrProf.h:895