#include "llvm/DebugInfo/LogicalView/Core/LVLine.h"
#include "llvm/DebugInfo/LogicalView/Core/LVReader.h"
#include "llvm/DebugInfo/LogicalView/Core/LVScope.h"
#include "llvm/DebugInfo/LogicalView/Core/LVSymbol.h"
#include "llvm/DebugInfo/LogicalView/Core/LVType.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
usingnamespacellvm;
usingnamespacellvm::logicalview;
namespace {
class ReaderTest : public LVReader { … };
void ReaderTest::add(LVScope *Parent, LVElement *Child) { … }
void ReaderTest::set(LVElement *Element, StringRef Name, LVOffset Offset,
uint32_t LineNumber, LVElement *Type) { … }
void ReaderTest::set(LVLocation *Location, LVLine *LowerLine, LVLine *UpperLine,
LVAddress LowerAddress, LVAddress UpperAddress) { … }
void ReaderTest::add(LVSymbol *Symbol, LVLine *LowerLine, LVLine *UpperLine) { … }
class ReaderTestLocations : public ReaderTest { … };
void ReaderTestLocations::createElements() { … }
void ReaderTestLocations::addElements() { … }
void ReaderTestLocations::initElements() { … }
class ReaderTestCoverage : public ReaderTest { … };
void ReaderTestCoverage::createElements() { … }
void ReaderTestCoverage::addElements() { … }
void ReaderTestCoverage::initElements() { … }
TEST(LogicalViewTest, LocationRanges) { … }
TEST(LogicalViewTest, LocationCoverage) { … }
}