LLVM  14.0.0git
NativePublicSymbol.h
Go to the documentation of this file.
1 //===- NativePublicSymbol.h - info about public symbols ---------*- 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_NATIVEPUBLICSYMBOL_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEPUBLICSYMBOL_H
11 
16 
17 namespace llvm {
18 namespace pdb {
19 
21 public:
23  const codeview::PublicSym32 &Sym);
24 
25  ~NativePublicSymbol() override;
26 
27  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
28  PdbSymbolIdField RecurseIdFields) const override;
29 
30  uint32_t getAddressOffset() const override;
31  uint32_t getAddressSection() const override;
32  std::string getName() const override;
33  uint32_t getRelativeVirtualAddress() const override;
34  uint64_t getVirtualAddress() const override;
35 
36 protected:
38 };
39 
40 } // namespace pdb
41 } // namespace llvm
42 
43 #endif // LLVM_DEBUGINFO_PDB_NATIVE_NATIVEPUBLICSYMBOL_H
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::pdb::NativePublicSymbol
Definition: NativePublicSymbol.h:20
llvm::codeview::PublicSym32
Definition: SymbolRecord.h:361
SymbolRecord.h
llvm::pdb::NativePublicSymbol::getName
std::string getName() const override
Definition: NativePublicSymbol.cpp:38
llvm::pdb::NativePublicSymbol::getVirtualAddress
uint64_t getVirtualAddress() const override
Definition: NativePublicSymbol.cpp:46
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:53
CodeView.h
llvm::pdb::NativePublicSymbol::getRelativeVirtualAddress
uint32_t getRelativeVirtualAddress() const override
Definition: NativePublicSymbol.cpp:42
uint64_t
llvm::pdb::NativePublicSymbol::getAddressOffset
uint32_t getAddressOffset() const override
Definition: NativePublicSymbol.cpp:34
uint32_t
llvm::pdb::NativePublicSymbol::NativePublicSymbol
NativePublicSymbol(NativeSession &Session, SymIndexId Id, const codeview::PublicSym32 &Sym)
Definition: NativePublicSymbol.cpp:19
llvm::pdb::NativePublicSymbol::dump
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
Definition: NativePublicSymbol.cpp:25
NativeRawSymbol.h
llvm::pdb::NativeSession
Definition: NativeSession.h:28
llvm::pdb::PdbSymbolIdField
PdbSymbolIdField
Definition: IPDBRawSymbol.h:24
llvm::pdb::NativePublicSymbol::getAddressSection
uint32_t getAddressSection() const override
Definition: NativePublicSymbol.cpp:36
llvm::pdb::NativeRawSymbol::Session
NativeSession & Session
Definition: NativeRawSymbol.h:232
llvm::AMDGPU::VGPRIndexMode::Id
Id
Definition: SIDefines.h:231
llvm::pdb::NativePublicSymbol::~NativePublicSymbol
~NativePublicSymbol() override
Definition: NativePublicSymbol.cpp:23
llvm::pdb::NativePublicSymbol::Sym
const codeview::PublicSym32 Sym
Definition: NativePublicSymbol.h:37
llvm::pdb::NativeRawSymbol
Definition: NativeRawSymbol.h:21
NativeSession.h