1 //===- TypeSymbolEmitter.h --------------------------------------*- 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_CODEVIEW_TYPESYMBOLEMITTER_H
10 #define LLVM_DEBUGINFO_CODEVIEW_TYPESYMBOLEMITTER_H
12 #include "llvm/DebugInfo/CodeView/CodeView.h"
13 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
20 class TypeSymbolEmitter
{
22 TypeSymbolEmitter(const TypeSymbolEmitter
&) = delete;
23 TypeSymbolEmitter
&operator=(const TypeSymbolEmitter
&) = delete;
26 TypeSymbolEmitter() {}
29 virtual ~TypeSymbolEmitter() {}
32 virtual void writeUserDefinedType(TypeIndex TI
, StringRef Name
) = 0;