LLVM 23.0.0git
llvm::dxbc::SourceInfo::Args::Header Struct Reference

#include "llvm/BinaryFormat/DXContainer.h"

Public Member Functions

void swapBytes ()
 Followed by Count argument pairs, representing command line arguments of the HLSL compiler invocation.

Public Attributes

uint32_t Flags
 Reserved, must be zero.
uint32_t SizeInBytes
 Length of all argument pairs, including their null terminators, not including this header.
uint32_t Count
 Number of arguments.

Detailed Description

Definition at line 1014 of file DXContainer.h.

Member Function Documentation

◆ swapBytes()

void llvm::dxbc::SourceInfo::Args::Header::swapBytes ( )
inline

Followed by Count argument pairs, representing command line arguments of the HLSL compiler invocation.

Each pair consists of argument name and argument value null-terminated strings. Padding is not applied to the pairs.

Definition at line 1027 of file DXContainer.h.

References Count, Flags, SizeInBytes, and llvm::sys::swapByteOrder().

Member Data Documentation

◆ Count

uint32_t llvm::dxbc::SourceInfo::Args::Header::Count

Number of arguments.

Definition at line 1021 of file DXContainer.h.

Referenced by swapBytes().

◆ Flags

uint32_t llvm::dxbc::SourceInfo::Args::Header::Flags

Reserved, must be zero.

Definition at line 1016 of file DXContainer.h.

Referenced by swapBytes().

◆ SizeInBytes

uint32_t llvm::dxbc::SourceInfo::Args::Header::SizeInBytes

Length of all argument pairs, including their null terminators, not including this header.

Definition at line 1019 of file DXContainer.h.

Referenced by swapBytes().


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