1 //===- NativeTypeTypedef.h - info about typedef ------------------*- 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_NATIVETYPETYPEDEF_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPETYPEDEF_H
12 #include "llvm/DebugInfo/CodeView/CodeView.h"
13 #include "llvm/DebugInfo/CodeView/SymbolRecord.h"
14 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
15 #include "llvm/DebugInfo/PDB/Native/NativeSession.h"
20 class NativeTypeTypedef : public NativeRawSymbol {
22 // Create a pointer record for a non-simple type.
23 NativeTypeTypedef(NativeSession &Session, SymIndexId Id,
24 codeview::UDTSym Typedef);
26 ~NativeTypeTypedef() override;
28 void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
29 PdbSymbolIdField RecurseIdFields) const override;
31 std::string getName() const override;
32 SymIndexId getTypeId() const override;
35 codeview::UDTSym Record;
41 #endif // LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEPOINTER_H