LLVM 19.0.0git
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
15namespace llvm {
16
17namespace pdb {
18
21public:
22 void dump(PDBSymDumper &Dumper) const override;
23
24 void getFrontEndVersion(VersionInfo &Version) const {
26 }
27
28 void getBackEndVersion(VersionInfo &Version) const {
30 }
31
32 FORWARD_SYMBOL_METHOD(getCompilerName)
33 FORWARD_SYMBOL_METHOD(isEditAndContinueEnabled)
35 FORWARD_SYMBOL_METHOD(hasManagedCode)
36 FORWARD_SYMBOL_METHOD(hasSecurityChecks)
37 FORWARD_SYMBOL_METHOD(isCVTCIL)
38 FORWARD_SYMBOL_METHOD(isDataAligned)
39 FORWARD_SYMBOL_METHOD(isHotpatchable)
41 FORWARD_SYMBOL_METHOD(isMSILNetmodule)
43 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
44 FORWARD_SYMBOL_METHOD(getPlatform)
45 FORWARD_SYMBOL_METHOD(getSourceFileName)
46};
47
48} // namespace llvm
49}
50
51#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDDETAILS_H
static bool hasDebugInfo(const MachineModuleInfo *MMI, const MachineFunction *MF)
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:48
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:34
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:17
virtual void getBackEndVersion(VersionInfo &Version) const =0
virtual void getFrontEndVersion(VersionInfo &Version) const =0
void getBackEndVersion(VersionInfo &Version) const
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
void getFrontEndVersion(VersionInfo &Version) const
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:71
IPDBRawSymbol * RawSymbol
Definition: PDBSymbol.h:170
unsigned getLanguage(StringRef LanguageString)
Definition: Dwarf.cpp:372
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18