LLVM  14.0.0git
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 666 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 677 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 669 of file TypeRecord.h.

◆ BuildInfoRecord() [3/3]

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

Definition at line 670 of file TypeRecord.h.

Member Function Documentation

◆ getArgs()

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

Definition at line 674 of file TypeRecord.h.

References ArgIndices.

Member Data Documentation

◆ ArgIndices

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

Definition at line 686 of file TypeRecord.h.

Referenced by getArgs().


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