LLVM 22.0.0git
llvm::codeview::BuildInfoRecord Class Reference

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

Inheritance diagram for llvm::codeview::BuildInfoRecord:
[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 667 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

◆ BuildInfoRecord() [3/3]

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

Definition at line 671 of file TypeRecord.h.

References ArgIndices, and llvm::codeview::TypeRecord::TypeRecord().

Member Function Documentation

◆ getArgs()

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

Definition at line 674 of file TypeRecord.h.

References ArgIndices.

Referenced by llvm::logicalview::LVLogicalVisitor::visitKnownRecord().

Member Data Documentation

◆ ArgIndices

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

Definition at line 686 of file TypeRecord.h.

Referenced by BuildInfoRecord(), and getArgs().


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