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