blob: faa404d41b1fbb91223e5a1f1cb43048ec140c1e [file] [log] [blame]
//===- MethodListRecordBuilder.h --------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_DEBUGINFO_CODEVIEW_METHODLISTRECORDBUILDER_H
#define LLVM_DEBUGINFO_CODEVIEW_METHODLISTRECORDBUILDER_H
#include "llvm/DebugInfo/CodeView/ListRecordBuilder.h"
namespace llvm {
namespace codeview {
class MethodInfo;
class MethodListRecordBuilder : public ListRecordBuilder {
private:
MethodListRecordBuilder(const MethodListRecordBuilder &) = delete;
MethodListRecordBuilder &operator=(const MethodListRecordBuilder &) = delete;
public:
MethodListRecordBuilder();
void writeMethod(MemberAccess Access, MethodKind Kind, MethodOptions Options,
TypeIndex Type, int32_t VTableSlotOffset);
void writeMethod(const MethodInfo &Method);
};
}
}
#endif