#include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/DebugSubsection.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/MathExtras.h"
#include <cassert>
#include <cstdint>
usingnamespacellvm;
usingnamespacellvm::codeview;
DebugSubsectionRecord::DebugSubsectionRecord() = default;
DebugSubsectionRecord::DebugSubsectionRecord(DebugSubsectionKind Kind,
BinaryStreamRef Data)
: … { … }
Error DebugSubsectionRecord::initialize(BinaryStreamRef Stream,
DebugSubsectionRecord &Info) { … }
uint32_t DebugSubsectionRecord::getRecordLength() const { … }
DebugSubsectionKind DebugSubsectionRecord::kind() const { … }
BinaryStreamRef DebugSubsectionRecord::getRecordData() const { … }
DebugSubsectionRecordBuilder::DebugSubsectionRecordBuilder(
std::shared_ptr<DebugSubsection> Subsection)
: … { … }
DebugSubsectionRecordBuilder::DebugSubsectionRecordBuilder(
const DebugSubsectionRecord &Contents)
: … { … }
uint32_t DebugSubsectionRecordBuilder::calculateSerializedLength() const { … }
Error DebugSubsectionRecordBuilder::commit(BinaryStreamWriter &Writer,
CodeViewContainer Container) const { … }