LLVM 22.0.0git
llvm::object::Elf_Nhdr_Impl< ELFT > Struct Template Reference

Note header. More...

#include "llvm/Object/ELFTypes.h"

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

Public Member Functions

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

Public Attributes

Elf_Word n_namesz
Elf_Word n_descsz
Elf_Word n_type

Detailed Description

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

Note header.

Definition at line 623 of file ELFTypes.h.

Member Function Documentation

◆ getSize()

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

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

Both the start and the end of the descriptor are aligned by the section alignment. In practice many 64-bit systems deviate from the generic ABI by using sh_addralign=4.

Definition at line 633 of file ELFTypes.h.

Member Data Documentation

◆ n_descsz

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

Definition at line 626 of file ELFTypes.h.

◆ n_namesz

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

Definition at line 625 of file ELFTypes.h.

◆ n_type

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

Definition at line 627 of file ELFTypes.h.


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