//===- MSFCommon.cpp - Common types and functions for MSF files -----------===// // // 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/MSF/MSFCommon.h" #include "llvm/DebugInfo/MSF/MSFError.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include <cstdint> #include <cstring> usingnamespacellvm; usingnamespacellvm::msf; Error llvm::msf::validateSuperBlock(const SuperBlock &SB) { … } MSFStreamLayout llvm::msf::getFpmStreamLayout(const MSFLayout &Msf, bool IncludeUnusedFpmData, bool AltFpm) { … }