//===- SymbolSerializer.cpp -----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/DebugInfo/CodeView/SymbolSerializer.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/Support/Error.h" #include "llvm/Support/ErrorHandling.h" #include <cassert> #include <cstdint> #include <cstring> usingnamespacellvm; usingnamespacellvm::codeview; SymbolSerializer::SymbolSerializer(BumpPtrAllocator &Allocator, CodeViewContainer Container) : … { … } Error SymbolSerializer::visitSymbolBegin(CVSymbol &Record) { … } Error SymbolSerializer::visitSymbolEnd(CVSymbol &Record) { … }