class Elf_Note_Impl
Declaration
template <class ELFT>
class Elf_Note_Impl { /* full declaration omitted */ };
Description
An ELF note. Wraps a note header, providing methods for accessing the name and descriptor safely.
Declared at: llvm/include/llvm/Object/ELFTypes.h:618
Templates
- ELFT
Member Variables
- private const Elf_Nhdr_Impl<ELFT>& Nhdr
Method Overview
- public Elf_Note_Impl<ELFT>(const Elf_Nhdr_Impl<ELFT> & Nhdr)
- public ArrayRef<uint8_t> getDesc() const
- public llvm::StringRef getDescAsStringRef() const
- public llvm::StringRef getName() const
- public llvm::object::Elf_Note_Impl::Elf_Word getType() const
Methods
¶Elf_Note_Impl<ELFT>(
const Elf_Nhdr_Impl<ELFT>& Nhdr)
Elf_Note_Impl<ELFT>(
const Elf_Nhdr_Impl<ELFT>& Nhdr)
Declared at: llvm/include/llvm/Object/ELFTypes.h:626
Parameters
- const Elf_Nhdr_Impl<ELFT>& Nhdr
¶ArrayRef<uint8_t> getDesc() const
ArrayRef<uint8_t> getDesc() const
Description
Get the note's descriptor.
Declared at: llvm/include/llvm/Object/ELFTypes.h:637
¶llvm::StringRef getDescAsStringRef() const
llvm::StringRef getDescAsStringRef() const
Description
Get the note's descriptor as StringRef
Declared at: llvm/include/llvm/Object/ELFTypes.h:647
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Description
Get the note's name, excluding the terminating null byte.
Declared at: llvm/include/llvm/Object/ELFTypes.h:629
¶llvm::object::Elf_Note_Impl::Elf_Word getType()
const
llvm::object::Elf_Note_Impl::Elf_Word getType()
const
Description
Get the note's type.
Declared at: llvm/include/llvm/Object/ELFTypes.h:653