llvm/llvm/unittests/Support/ELFAttributeParserTest.cpp

//===----- unittests/ELFAttributeParserTest.cpp ---------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/Support/ELFAttributeParser.h"
#include "llvm/Support/ELFAttributes.h"
#include "gtest/gtest.h"
#include <string>

usingnamespacellvm;

static const TagNameMap emptyTagNameMap;

// This class is used to test the common part of the ELF attribute section.
class AttributeHeaderParser : public ELFAttributeParser {};

static void testParseError(ArrayRef<uint8_t> bytes, const char *msg) {}

TEST(AttributeHeaderParser, UnrecognizedFormatVersion) {}

TEST(AttributeHeaderParser, InvalidSectionLength) {}

TEST(AttributeHeaderParser, UnrecognizedTag) {}

TEST(AttributeHeaderParser, InvalidAttributeSize) {}