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

#include "llvm/BinaryFormat/DXContainer.h"

Public Member Functions

void swapBytes ()

Public Attributes

uint32_t AlignedSizeInBytes
 Size of the section including this header.
uint16_t Flags
 Reserved, must be zero.
CompressionType Type
 Type of compression used to compress the whole section content.
uint32_t EntriesSizeInBytes
 The size of the data entries following this header.
uint32_t UncompressedEntriesSizeInBytes
 Total size of the data entries when uncompressed.
uint32_t Count
 The number of data entries.

Detailed Description

Definition at line 955 of file DXContainer.h.

Member Function Documentation

◆ swapBytes()

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

Member Data Documentation

◆ AlignedSizeInBytes

uint32_t llvm::dxbc::SourceInfo::Contents::Header::AlignedSizeInBytes

Size of the section including this header.

Aligned to a 4-byte boundary. In some implementations, it is unused and set to zero.

Definition at line 958 of file DXContainer.h.

Referenced by swapBytes().

◆ Count

uint32_t llvm::dxbc::SourceInfo::Contents::Header::Count

The number of data entries.

Definition at line 971 of file DXContainer.h.

Referenced by parseUncompressedContentsEntries(), and swapBytes().

◆ EntriesSizeInBytes

uint32_t llvm::dxbc::SourceInfo::Contents::Header::EntriesSizeInBytes

The size of the data entries following this header.

Aligned to a 4-byte boundary if Type is None. Doesn’t have to be aligned otherwise.

Definition at line 966 of file DXContainer.h.

Referenced by parseContents(), parseContentsEntries(), and swapBytes().

◆ Flags

uint16_t llvm::dxbc::SourceInfo::Contents::Header::Flags

Reserved, must be zero.

Definition at line 960 of file DXContainer.h.

Referenced by parseContents(), and swapBytes().

◆ Type

CompressionType llvm::dxbc::SourceInfo::Contents::Header::Type

Type of compression used to compress the whole section content.

Definition at line 962 of file DXContainer.h.

Referenced by parseContentsEntries(), and swapBytes().

◆ UncompressedEntriesSizeInBytes

uint32_t llvm::dxbc::SourceInfo::Contents::Header::UncompressedEntriesSizeInBytes

Total size of the data entries when uncompressed.

Aligned to a 4-byte boundary.

Definition at line 969 of file DXContainer.h.

Referenced by parseContentsEntries(), and swapBytes().


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