LLVM  8.0.0svn
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::codeview::BuildInfoRecord Class Reference

#include "llvm/DebugInfo/CodeView/TypeRecord.h"

Inheritance diagram for llvm::codeview::BuildInfoRecord:
Inheritance graph
[legend]
Collaboration diagram for llvm::codeview::BuildInfoRecord:
Collaboration graph
[legend]

Public Types

enum  BuildInfoArg {
  CurrentDirectory, BuildTool, SourceFile, TypeServerPDB,
  CommandLine, MaxArgs
}
 Indices of known build info arguments. More...
 

Public Member Functions

 BuildInfoRecord ()=default
 
 BuildInfoRecord (TypeRecordKind Kind)
 
 BuildInfoRecord (ArrayRef< TypeIndex > ArgIndices)
 
ArrayRef< TypeIndexgetArgs () const
 
- Public Member Functions inherited from llvm::codeview::TypeRecord
TypeRecordKind getKind () const
 

Public Attributes

SmallVector< TypeIndex, MaxArgsArgIndices
 
- Public Attributes inherited from llvm::codeview::TypeRecord
TypeRecordKind Kind
 

Additional Inherited Members

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

Detailed Description

Definition at line 668 of file TypeRecord.h.

Member Enumeration Documentation

◆ BuildInfoArg

Indices of known build info arguments.

Enumerator
CurrentDirectory 

Absolute CWD path.

BuildTool 

Absolute compiler path.

SourceFile 

Path to main source file, relative or absolute.

TypeServerPDB 

Absolute path of type server PDB (/Fd)

CommandLine 

Full canonical command line (maybe -cc1)

MaxArgs 

Definition at line 679 of file TypeRecord.h.

Constructor & Destructor Documentation

◆ BuildInfoRecord() [1/3]

llvm::codeview::BuildInfoRecord::BuildInfoRecord ( )
default

◆ BuildInfoRecord() [2/3]

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

Definition at line 671 of file TypeRecord.h.

◆ BuildInfoRecord() [3/3]

llvm::codeview::BuildInfoRecord::BuildInfoRecord ( ArrayRef< TypeIndex ArgIndices)
inline

Definition at line 672 of file TypeRecord.h.

Member Function Documentation

◆ getArgs()

ArrayRef<TypeIndex> llvm::codeview::BuildInfoRecord::getArgs ( ) const
inline

Definition at line 676 of file TypeRecord.h.

Referenced by llvm::codeview::TypeDumpVisitor::visitMemberEnd().

Member Data Documentation

◆ ArgIndices

SmallVector<TypeIndex, MaxArgs> llvm::codeview::BuildInfoRecord::ArgIndices

Definition at line 688 of file TypeRecord.h.

Referenced by llvm::codeview::TypeRecordMapping::visitMemberEnd().


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