#include "llvm/Support/ELFAttributeParser.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/ScopedPrinter.h"
usingnamespacellvm;
usingnamespacellvm::ELFAttrs;
static constexpr EnumEntry<unsigned> tagNames[] = …;
Error ELFAttributeParser::parseStringAttribute(const char *name, unsigned tag,
ArrayRef<const char *> strings) { … }
Error ELFAttributeParser::integerAttribute(unsigned tag) { … }
Error ELFAttributeParser::stringAttribute(unsigned tag) { … }
void ELFAttributeParser::printAttribute(unsigned tag, unsigned value,
StringRef valueDesc) { … }
void ELFAttributeParser::parseIndexList(SmallVectorImpl<uint8_t> &indexList) { … }
Error ELFAttributeParser::parseAttributeList(uint32_t length) { … }
Error ELFAttributeParser::parseSubsection(uint32_t length) { … }
Error ELFAttributeParser::parse(ArrayRef<uint8_t> section,
llvm::endianness endian) { … }