1//===- NativeCompilandSymbol.h - native impl for compiland syms -*- 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_NATIVE_NATIVECOMPILANDSYMBOL_H
10#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVECOMPILANDSYMBOL_H
11
12#include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
13#include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
14
15namespace llvm {
16namespace pdb {
17
18class NativeCompilandSymbol : public NativeRawSymbol {
19public:
20  NativeCompilandSymbol(NativeSession &Session, SymIndexId SymbolId,
21                        DbiModuleDescriptor MI);
22
23  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
24            PdbSymbolIdField RecurseIdFields) const override;
25
26  PDB_SymType getSymTag() const override;
27  bool isEditAndContinueEnabled() const override;
28  SymIndexId getLexicalParentId() const override;
29  std::string getLibraryName() const override;
30  std::string getName() const override;
31
32private:
33  DbiModuleDescriptor Module;
34};
35
36} // namespace pdb
37} // namespace llvm
38
39#endif
40