LLVM 20.0.0git
|
Note header. More...
#include "llvm/Object/ELFTypes.h"
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 |
Note header.
Definition at line 622 of file ELFTypes.h.
|
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 632 of file ELFTypes.h.
References llvm::alignToPowerOf2().
Referenced by llvm::object::Elf_Note_Iterator_Impl< ELFT >::operator++().
Elf_Word llvm::object::Elf_Nhdr_Impl< ELFT >::n_descsz |
Definition at line 625 of file ELFTypes.h.
Referenced by llvm::object::Elf_Note_Impl< ELFT >::getDesc().
Elf_Word llvm::object::Elf_Nhdr_Impl< ELFT >::n_namesz |
Definition at line 624 of file ELFTypes.h.
Referenced by llvm::object::Elf_Note_Impl< ELFT >::getDesc(), and llvm::object::Elf_Note_Impl< ELFT >::getName().
Elf_Word llvm::object::Elf_Nhdr_Impl< ELFT >::n_type |
Definition at line 626 of file ELFTypes.h.
Referenced by llvm::object::Elf_Note_Impl< ELFT >::getType().