LLVM 24.0.0git
NativeTypeTypedefUDT.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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_NATIVETYPETYPEDEFUDT_H
10#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPETYPEDEFUDT_H
11
16
17namespace llvm {
18
19class raw_ostream;
20
21namespace pdb {
22
23class NativeSession;
24
25/// A typedef from the module symbol stream (S_UDT).
27public:
28 // Create a pointer record for a non-simple type.
31
33
34 void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
35 PdbSymbolIdField RecurseIdFields) const override;
36
37 std::string getName() const override;
38 SymIndexId getTypeId() const override;
39
40protected:
42};
43
44} // namespace pdb
45} // namespace llvm
46
47#endif // LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPETYPEDEFUDT_H
#define LLVM_ABI
Definition Compiler.h:211
static StringRef getName(Value *V)
NativeRawSymbol(NativeSession &PDBSession, PDB_SymType Tag, SymIndexId SymbolId)
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
NativeTypeTypedefUDT(NativeSession &Session, SymIndexId Id, codeview::UDTSym Typedef)
SymIndexId getTypeId() const override
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
uint32_t SymIndexId
Definition PDBTypes.h:26
This is an optimization pass for GlobalISel generic memory operations.