LLVM
20.0.0git
include
llvm
DebugInfo
PDB
Native
NativeTypeTypedef.h
Go to the documentation of this file.
1
//===- NativeTypeTypedef.h - info about typedef ------------------*- 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_NATIVETYPETYPEDEF_H
10
#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPETYPEDEF_H
11
12
#include "
llvm/DebugInfo/CodeView/SymbolRecord.h
"
13
#include "
llvm/DebugInfo/PDB/IPDBRawSymbol.h
"
14
#include "
llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
"
15
#include "
llvm/DebugInfo/PDB/PDBTypes.h
"
16
17
namespace
llvm
{
18
19
class
raw_ostream;
20
21
namespace
pdb {
22
23
class
NativeSession;
24
25
class
NativeTypeTypedef
:
public
NativeRawSymbol
{
26
public
:
27
// Create a pointer record for a non-simple type.
28
NativeTypeTypedef
(
NativeSession
&
Session
,
SymIndexId
Id,
29
codeview::UDTSym
Typedef
);
30
31
~NativeTypeTypedef
()
override
;
32
33
void
dump
(
raw_ostream
&
OS
,
int
Indent,
PdbSymbolIdField
ShowIdFields,
34
PdbSymbolIdField
RecurseIdFields)
const override
;
35
36
std::string
getName
()
const override
;
37
SymIndexId
getTypeId
()
const override
;
38
39
protected
:
40
codeview::UDTSym
Record
;
41
};
42
43
}
// namespace pdb
44
}
// namespace llvm
45
46
#endif
// LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPETYPEDEF_H
IPDBRawSymbol.h
NativeRawSymbol.h
PDBTypes.h
OS
raw_pwrite_stream & OS
Definition:
SampleProfWriter.cpp:53
SymbolRecord.h
llvm::codeview::UDTSym
Definition:
SymbolRecord.h:884
llvm::pdb::NativeRawSymbol
Definition:
NativeRawSymbol.h:21
llvm::pdb::NativeRawSymbol::Session
NativeSession & Session
Definition:
NativeRawSymbol.h:232
llvm::pdb::NativeSession
Definition:
NativeSession.h:32
llvm::pdb::NativeTypeTypedef
Definition:
NativeTypeTypedef.h:25
llvm::pdb::NativeTypeTypedef::getName
std::string getName() const override
Definition:
NativeTypeTypedef.cpp:25
llvm::pdb::NativeTypeTypedef::Record
codeview::UDTSym Record
Definition:
NativeTypeTypedef.h:40
llvm::pdb::NativeTypeTypedef::~NativeTypeTypedef
~NativeTypeTypedef() override
llvm::pdb::NativeTypeTypedef::getTypeId
SymIndexId getTypeId() const override
Definition:
NativeTypeTypedef.cpp:29
llvm::pdb::NativeTypeTypedef::dump
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
Definition:
NativeTypeTypedef.cpp:16
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition:
raw_ostream.h:52
uint32_t
llvm::pdb::PDB_SymType::Typedef
@ Typedef
llvm::pdb::PdbSymbolIdField
PdbSymbolIdField
Definition:
IPDBRawSymbol.h:24
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Tue Nov 12 2024 11:49:59 for LLVM by
1.9.6