LLVM  14.0.0git
PDBSymbolCompiland.h
Go to the documentation of this file.
1 //===- PDBSymbolCompiland.h - Accessors for querying PDB compilands -----*-===//
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 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
9 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
10 
11 #include "PDBSymbol.h"
12 #include "PDBTypes.h"
13 #include <string>
14 
15 namespace llvm {
16 
17 class raw_ostream;
18 
19 namespace pdb {
20 
21 class PDBSymbolCompiland : public PDBSymbol {
23 public:
24  void dump(PDBSymDumper &Dumper) const override;
25 
26  FORWARD_SYMBOL_METHOD(isEditAndContinueEnabled)
27  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
28  FORWARD_SYMBOL_METHOD(getLibraryName)
30 
31  std::string getSourceFileName() const;
32  std::string getSourceFileFullPath() const;
33 };
34 }
35 }
36 
37 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
llvm::pdb::PDBSymbol::getName
std::string getName() const
Definition: PDBSymbol.cpp:183
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::pdb::PDBSymbolCompiland::getSourceFileName
std::string getSourceFileName() const
Definition: PDBSymbolCompiland.cpp:28
DECLARE_PDB_SYMBOL_CONCRETE_TYPE
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:47
llvm::pdb::PDBSymbolCompiland::dump
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
Definition: PDBSymbolCompiland.cpp:24
llvm::pdb::PDBSymbol
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:70
PDBSymbol.h
PDBTypes.h
llvm::pdb::PDBSymDumper
Definition: PDBSymDumper.h:19
FORWARD_SYMBOL_ID_METHOD
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:36
llvm::pdb::PDB_SymType::Compiland
@ Compiland
llvm::pdb::PDBSymbolCompiland::getSourceFileFullPath
std::string getSourceFileFullPath() const
Definition: PDBSymbolCompiland.cpp:32
llvm::pdb::PDBSymbolCompiland
Definition: PDBSymbolCompiland.h:21
FORWARD_SYMBOL_METHOD
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19