#include "llvm/DebugInfo/CodeView/DebugLinesSubsection.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/CodeViewError.h"
#include "llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/Error.h"
#include <cassert>
#include <cstdint>
usingnamespacellvm;
usingnamespacellvm::codeview;
Error LineColumnExtractor::operator()(BinaryStreamRef Stream, uint32_t &Len,
LineColumnEntry &Item) { … }
DebugLinesSubsectionRef::DebugLinesSubsectionRef()
: … { … }
Error DebugLinesSubsectionRef::initialize(BinaryStreamReader Reader) { … }
bool DebugLinesSubsectionRef::hasColumnInfo() const { … }
DebugLinesSubsection::DebugLinesSubsection(DebugChecksumsSubsection &Checksums,
DebugStringTableSubsection &Strings)
: … { … }
void DebugLinesSubsection::createBlock(StringRef FileName) { … }
void DebugLinesSubsection::addLineInfo(uint32_t Offset, const LineInfo &Line) { … }
void DebugLinesSubsection::addLineAndColumnInfo(uint32_t Offset,
const LineInfo &Line,
uint32_t ColStart,
uint32_t ColEnd) { … }
Error DebugLinesSubsection::commit(BinaryStreamWriter &Writer) const { … }
uint32_t DebugLinesSubsection::calculateSerializedSize() const { … }
void DebugLinesSubsection::setRelocationAddress(uint16_t Segment,
uint32_t Offset) { … }
void DebugLinesSubsection::setCodeSize(uint32_t Size) { … }
void DebugLinesSubsection::setFlags(LineFlags Flags) { … }
bool DebugLinesSubsection::hasColumnInfo() const { … }