#include "llvm/DebugInfo/LogicalView/Core/LVCompare.h"
#include "llvm/DebugInfo/LogicalView/Core/LVOptions.h"
#include "llvm/DebugInfo/LogicalView/Core/LVReader.h"
#include <tuple>
usingnamespacellvm;
usingnamespacellvm::logicalview;
#define DEBUG_TYPE …
namespace {
enum class LVCompareItem { … };
enum class LVCompareIndex { … };
LVCompareEntry;
LVCompareInfo;
LVCompareInfo Results = …;
static LVCompareInfo::iterator IterTotal = …;
constexpr unsigned getHeader() { … }
constexpr unsigned getExpected() { … }
constexpr unsigned getMissing() { … }
constexpr unsigned getAdded() { … }
LVCompare *CurrentComparator = …;
void zeroResults() { … }
LVCompareInfo::iterator getResultsEntry(LVElement *Element) { … }
void updateExpected(LVElement *Element) { … }
void updateMissingOrAdded(LVElement *Element, LVComparePass Pass) { … }
}
LVCompare &LVCompare::getInstance() { … }
void LVCompare::setInstance(LVCompare *Comparator) { … }
LVCompare::LVCompare(raw_ostream &OS) : … { … }
Error LVCompare::execute(LVReader *ReferenceReader, LVReader *TargetReader) { … }
void LVCompare::printCurrentStack() { … }
void LVCompare::printItem(LVElement *Element, LVComparePass Pass) { … }
void LVCompare::printSummary() const { … }
void LVCompare::print(raw_ostream &OS) const { … }