LLVM 22.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"
14#include <string>
15
16namespace llvm {
17
18class raw_ostream;
19
20namespace pdb {
21
24public:
25 void dump(PDBSymDumper &Dumper) const override;
26
27 FORWARD_SYMBOL_METHOD(isEditAndContinueEnabled)
28 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
29 FORWARD_SYMBOL_METHOD(getLibraryName)
31
32 std::string getSourceFileName() const;
33 std::string getSourceFileFullPath() const;
34};
35}
36}
37
38#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
#define LLVM_ABI
Definition Compiler.h:213
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition PDBSymbol.h:49
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition PDBSymbol.h:35
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition PDBSymbol.h:18
std::string getSourceFileFullPath() const
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
std::string getName() const
PDBSymbol(const IPDBSession &PDBSession)
Definition PDBSymbol.cpp:52
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
This is an optimization pass for GlobalISel generic memory operations.