22#ifndef LLVM_DEBUGINFO_BTF_BTFPARSER_H
23#define LLVM_DEBUGINFO_BTF_BTFPARSER_H
31using object::ObjectFile;
32using object::SectionedAddress;
33using object::SectionRef;
62 std::vector<const BTF::CommonType *> Types;
This file contains the layout of .BTF and .BTF.ext ELF sections.
This file defines the DenseMap class.
size_t typesCount() const
StringRef findString(uint32_t Offset) const
Error parse(const ObjectFile &Obj)
const BTF::BPFLineInfo * findLineInfo(SectionedAddress Address) const
void symbolize(const BTF::BPFFieldReloc *Reloc, SmallVectorImpl< char > &Result) const
const BTF::CommonType * findType(uint32_t Id) const
static bool hasBTFSections(const ObjectFile &Obj)
const BTF::BPFFieldReloc * findFieldReloc(SectionedAddress Address) const
Lightweight error class with error context and mandatory checking.
This is a MutableArrayRef that owns its array.
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
StringRef - Represent a constant reference to a string, i.e.
This class is the base class for all object file types.
This is a value type class that represents a single section in the list of sections in the object fil...
This is an optimization pass for GlobalISel generic memory operations.
Specifying one offset relocation.
Specifying one line info.
The BTF common type definition.