LLVM  8.0.1
Public Member Functions | Friends | List of all members
llvm::object::Elf_Note_Impl< ELFT > Class Template Reference

An ELF note. More...

#include "llvm/Object/ELFTypes.h"

Public Member Functions

StringRef getName () const
 Get the note's name, excluding the terminating null byte. More...
 
ArrayRef< uint8_t > getDesc () const
 Get the note's descriptor. More...
 
Elf_Word getType () const
 Get the note's type. More...
 

Friends

template<class NoteIteratorELFT >
class Elf_Note_Iterator_Impl
 

Detailed Description

template<class ELFT>
class llvm::object::Elf_Note_Impl< ELFT >

An ELF note.

Wraps a note header, providing methods for accessing the name and descriptor safely.

Definition at line 44 of file ELFTypes.h.

Member Function Documentation

◆ getDesc()

template<class ELFT>
ArrayRef<uint8_t> llvm::object::Elf_Note_Impl< ELFT >::getDesc ( ) const
inline

◆ getName()

template<class ELFT>
StringRef llvm::object::Elf_Note_Impl< ELFT >::getName ( ) const
inline

Get the note's name, excluding the terminating null byte.

Definition at line 600 of file ELFTypes.h.

References llvm::object::Elf_Nhdr_Impl< ELFT >::n_namesz.

◆ getType()

template<class ELFT>
Elf_Word llvm::object::Elf_Note_Impl< ELFT >::getType ( ) const
inline

Get the note's type.

Definition at line 618 of file ELFTypes.h.

References llvm::object::Elf_Nhdr_Impl< ELFT >::n_type.

Friends And Related Function Documentation

◆ Elf_Note_Iterator_Impl

template<class ELFT>
template<class NoteIteratorELFT >
friend class Elf_Note_Iterator_Impl
friend

Definition at line 594 of file ELFTypes.h.


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