#include "llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
usingnamespacellvm;
usingnamespacedwarf;
enum OrderKind : bool { … };
void writeValidAbbreviationDeclarations(raw_ostream &OS, uint32_t FirstCode,
OrderKind Order) { … }
void writeMalformedULEB128Value(raw_ostream &OS) { … }
void writeULEB128LargerThan64Bits(raw_ostream &OS) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbrevDeclSetExtractSuccess) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbrevDeclSetExtractSuccessOutOfOrder) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbreviationDeclSetCodeExtractionError) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbreviationDeclSetTagExtractionError) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbreviationDeclSetChildExtractionError) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbreviationDeclSetAttributeExtractionError) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbreviationDeclSetFormExtractionError) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbrevDeclSetInvalidTag) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbrevDeclSetInvalidAttrValidForm) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbrevDeclSetValidAttrInvalidForm) { … }
TEST(DWARFDebugAbbrevTest, DWARFAbbrevDeclSetMissingTerminator) { … }
TEST(DWARFDebugAbbrevTest, DWARFDebugAbbrevParseError) { … }