#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 MyLocation : public LVLocation { … };
class MyAddressToLine { … };
LVLine *MyAddressToLine::lineLowerBound(LVAddress Address) { … }
LVLine *MyAddressToLine::lineUpperBound(LVAddress Address) { … }
MyAddressToLine AddressToLine;
class ReaderTestWarningInternal : public LVReader { … };
bool MyLocation::validateRanges() { … }
void ReaderTestWarningInternal::setMapping() { … }
void ReaderTestWarningInternal::add(LVScope *Parent, LVElement *Child) { … }
void ReaderTestWarningInternal::set(LVElement *Element, StringRef Name,
LVOffset Offset, uint32_t LineNumber,
LVElement *Type) { … }
void ReaderTestWarningInternal::set(MyLocation *Location, LVLine *LowerLine,
LVLine *UpperLine, LVAddress LowerAddress,
LVAddress UpperAddress) { … }
void ReaderTestWarningInternal::add(LVSymbol *Symbol, LVLine *LowerLine,
LVLine *UpperLine) { … }
void ReaderTestWarningInternal::createElements() { … }
void ReaderTestWarningInternal::addElements() { … }
void ReaderTestWarningInternal::resolveElements() { … }
void ReaderTestWarningInternal::initElements() { … }
void ReaderTestWarningInternal::checkWarnings() { … }
TEST(LogicalViewTest, WarningInternal) { … }
}