#include "llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h"
#include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
usingnamespacellvm;
namespace {
struct WarningHandler { … };
template <size_t SecSize>
void ExpectExtractError(const char (&SecDataRaw)[SecSize],
const char *ErrorMessage) { … }
TEST(DWARFDebugArangeSet, LengthExceedsSectionSize) { … }
TEST(DWARFDebugArangeSet, LengthExceedsSectionSizeDWARF64) { … }
TEST(DWARFDebugArangeSet, UnsupportedAddressSize) { … }
TEST(DWARFDebugArangeSet, UnsupportedSegmentSelectorSize) { … }
TEST(DWARFDebugArangeSet, NoTerminationEntry) { … }
TEST(DWARFDebugArangeSet, ReservedUnitLength) { … }
TEST(DWARFDebugArangeSet, SectionTooShort) { … }
TEST(DWARFDebugArangeSet, SectionTooShortDWARF64) { … }
TEST(DWARFDebugArangeSet, NoSpaceForEntries) { … }
TEST(DWARFDebugArangeSet, UnevenLength) { … }
TEST(DWARFDebugArangeSet, ZeroAddressEntry) { … }
TEST(DWARFDebugArangeSet, ZeroLengthEntry) { … }
TEST(DWARFDebugArangesSet, PrematureTerminator) { … }
}