1 //===- NativeCompilandSymbol.h - native impl for compiland syms -*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVECOMPILANDSYMBOL_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVECOMPILANDSYMBOL_H
12 #include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
13 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
18 class NativeCompilandSymbol
: public NativeRawSymbol
{
20 NativeCompilandSymbol(NativeSession
&Session
, SymIndexId SymbolId
,
21 DbiModuleDescriptor MI
);
23 void dump(raw_ostream
&OS
, int Indent
, PdbSymbolIdField ShowIdFields
,
24 PdbSymbolIdField RecurseIdFields
) const override
;
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
;
33 DbiModuleDescriptor Module
;