LLVM  9.0.0svn
PDBSymbolCompilandDetails.h
Go to the documentation of this file.
1 //===- PDBSymbolCompilandDetails.h - PDB compiland details ------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDDETAILS_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDDETAILS_H
11 
12 #include "PDBSymbol.h"
13 #include "PDBTypes.h"
14 
15 namespace llvm {
16 
17 class raw_ostream;
18 namespace pdb {
19 
22 public:
23  void dump(PDBSymDumper &Dumper) const override;
24 
26  RawSymbol->getFrontEndVersion(Version);
27  }
28 
30  RawSymbol->getBackEndVersion(Version);
31  }
32 
33  FORWARD_SYMBOL_METHOD(getCompilerName)
34  FORWARD_SYMBOL_METHOD(isEditAndContinueEnabled)
36  FORWARD_SYMBOL_METHOD(hasManagedCode)
37  FORWARD_SYMBOL_METHOD(hasSecurityChecks)
38  FORWARD_SYMBOL_METHOD(isCVTCIL)
39  FORWARD_SYMBOL_METHOD(isDataAligned)
40  FORWARD_SYMBOL_METHOD(isHotpatchable)
41  FORWARD_SYMBOL_METHOD(isLTCG)
42  FORWARD_SYMBOL_METHOD(isMSILNetmodule)
44  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
45  FORWARD_SYMBOL_METHOD(getPlatform)
46  FORWARD_SYMBOL_METHOD(getSourceFileName)
47 };
48 
49 } // namespace llvm
50 }
51 
52 #endif // LLVM_DEBUGINFO_PDB_PDBFUNCTION_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:50
IPDBRawSymbol * RawSymbol
Definition: PDBSymbol.h:165
This class represents lattice values for constants.
Definition: AllocatorList.h:23
virtual void getFrontEndVersion(VersionInfo &Version) const =0
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19
void getBackEndVersion(VersionInfo &Version) const
unsigned getLanguage(StringRef LanguageString)
Definition: Dwarf.cpp:316
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:73
virtual void getBackEndVersion(VersionInfo &Version) const =0
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:38
void getFrontEndVersion(VersionInfo &Version) const
const uint64_t Version
Definition: InstrProf.h:984