LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::codeview::ProcedureRecord Class Reference

#include <TypeRecord.h>

Inheritance diagram for llvm::codeview::ProcedureRecord:
[legend]
Collaboration diagram for llvm::codeview::ProcedureRecord:
[legend]

Public Member Functions

 ProcedureRecord (TypeRecordKind Kind)
 
 ProcedureRecord (TypeIndex ReturnType, CallingConvention CallConv, FunctionOptions Options, uint16_t ParameterCount, TypeIndex ArgumentList)
 
bool remapTypeIndices (ArrayRef< TypeIndex > IndexMap)
 Rewrite member type indices with IndexMap. More...
 
TypeIndex getReturnType () const
 
CallingConvention getCallConv () const
 
FunctionOptions getOptions () const
 
uint16_t getParameterCount () const
 
TypeIndex getArgumentList () const
 
- Public Member Functions inherited from llvm::codeview::TypeRecord
TypeRecordKind getKind () const
 

Public Attributes

TypeIndex ReturnType
 
CallingConvention CallConv
 
FunctionOptions Options
 
uint16_t ParameterCount
 
TypeIndex ArgumentList
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::codeview::TypeRecord
 TypeRecord ()=default
 
 TypeRecord (TypeRecordKind Kind)
 

Detailed Description

Definition at line 154 of file TypeRecord.h.

Constructor & Destructor Documentation

llvm::codeview::ProcedureRecord::ProcedureRecord ( TypeRecordKind  Kind)
inlineexplicit

Definition at line 156 of file TypeRecord.h.

llvm::codeview::ProcedureRecord::ProcedureRecord ( TypeIndex  ReturnType,
CallingConvention  CallConv,
FunctionOptions  Options,
uint16_t  ParameterCount,
TypeIndex  ArgumentList 
)
inline

Definition at line 157 of file TypeRecord.h.

Member Function Documentation

TypeIndex llvm::codeview::ProcedureRecord::getArgumentList ( ) const
inline

Definition at line 172 of file TypeRecord.h.

References ArgumentList.

CallingConvention llvm::codeview::ProcedureRecord::getCallConv ( ) const
inline

Definition at line 169 of file TypeRecord.h.

References CallConv.

FunctionOptions llvm::codeview::ProcedureRecord::getOptions ( ) const
inline

Definition at line 170 of file TypeRecord.h.

References Options.

uint16_t llvm::codeview::ProcedureRecord::getParameterCount ( ) const
inline

Definition at line 171 of file TypeRecord.h.

References ParameterCount.

TypeIndex llvm::codeview::ProcedureRecord::getReturnType ( ) const
inline

Definition at line 168 of file TypeRecord.h.

References ReturnType.

bool ProcedureRecord::remapTypeIndices ( ArrayRef< TypeIndex IndexMap)

Rewrite member type indices with IndexMap.

Returns false if a type index is not in the map.

Definition at line 43 of file TypeRecord.cpp.

References ArgumentList, remapIndex(), ReturnType, and Success.

Member Data Documentation

TypeIndex llvm::codeview::ProcedureRecord::ArgumentList

Definition at line 178 of file TypeRecord.h.

Referenced by getArgumentList(), and remapTypeIndices().

CallingConvention llvm::codeview::ProcedureRecord::CallConv

Definition at line 175 of file TypeRecord.h.

Referenced by getCallConv().

FunctionOptions llvm::codeview::ProcedureRecord::Options

Definition at line 176 of file TypeRecord.h.

Referenced by getOptions().

uint16_t llvm::codeview::ProcedureRecord::ParameterCount

Definition at line 177 of file TypeRecord.h.

Referenced by getParameterCount().

TypeIndex llvm::codeview::ProcedureRecord::ReturnType

Definition at line 174 of file TypeRecord.h.

Referenced by getReturnType(), and remapTypeIndices().


The documentation for this class was generated from the following files: