1 //===- MethodListRecordBuilder.h --------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLVM_DEBUGINFO_CODEVIEW_METHODLISTRECORDBUILDER_H 11 #define LLVM_DEBUGINFO_CODEVIEW_METHODLISTRECORDBUILDER_H 12 13 #include "llvm/DebugInfo/CodeView/ListRecordBuilder.h" 14 15 namespace llvm { 16 namespace codeview { 17 18 class MethodInfo; 19 20 class MethodListRecordBuilder : public ListRecordBuilder { 21 private: 22 MethodListRecordBuilder(const MethodListRecordBuilder &) = delete; 23 MethodListRecordBuilder &operator=(const MethodListRecordBuilder &) = delete; 24 25 public: 26 MethodListRecordBuilder(); 27 28 void writeMethod(MemberAccess Access, MethodKind Kind, MethodOptions Options, 29 TypeIndex Type, int32_t VTableSlotOffset); 30 void writeMethod(const MethodInfo &Method); 31 }; 32 } 33 } 34 35 #endif 36