LLVM  10.0.0svn
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
llvm::object::Elf_Nhdr_Impl< ELFT > Struct Template Reference

Note header. More...

#include "llvm/Object/ELFTypes.h"

Collaboration diagram for llvm::object::Elf_Nhdr_Impl< ELFT >:
Collaboration graph
[legend]

Public Member Functions

size_t getSize () const
 Get the size of the note, including name, descriptor, and padding. More...
 

Public Attributes

Elf_Word n_namesz
 
Elf_Word n_descsz
 
Elf_Word n_type
 

Static Public Attributes

static const unsigned int Align = 4
 The alignment of the name and descriptor. More...
 

Detailed Description

template<class ELFT>
struct llvm::object::Elf_Nhdr_Impl< ELFT >

Note header.

Definition at line 42 of file ELFTypes.h.

Member Function Documentation

◆ getSize()

template<class ELFT>
size_t llvm::object::Elf_Nhdr_Impl< ELFT >::getSize ( ) const
inline

Get the size of the note, including name, descriptor, and padding.

Definition at line 578 of file ELFTypes.h.

References LLVM_ELF_IMPORT_TYPES_ELFT.

Referenced by llvm::object::Elf_Note_Iterator_Impl< ELFT >::operator++().

Member Data Documentation

◆ Align

template<class ELFT>
const unsigned int llvm::object::Elf_Nhdr_Impl< ELFT >::Align = 4
static

The alignment of the name and descriptor.

Implementations differ from the specification here: in practice all variants align both the name and descriptor to 4-bytes.

Definition at line 575 of file ELFTypes.h.

◆ n_descsz

template<class ELFT>
Elf_Word llvm::object::Elf_Nhdr_Impl< ELFT >::n_descsz

Definition at line 568 of file ELFTypes.h.

Referenced by llvm::object::Elf_Note_Impl< ELFT >::getDesc().

◆ n_namesz

template<class ELFT>
Elf_Word llvm::object::Elf_Nhdr_Impl< ELFT >::n_namesz

◆ n_type

template<class ELFT>
Elf_Word llvm::object::Elf_Nhdr_Impl< ELFT >::n_type

Definition at line 569 of file ELFTypes.h.

Referenced by llvm::object::Elf_Note_Impl< ELFT >::getType().


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