//===- FileHeaderReader.cpp - XRay File Header Reader --------------------===// // // 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/XRay/FileHeaderReader.h" namespace llvm { namespace xray { // Populates the FileHeader reference by reading the first 32 bytes of the file. Expected<XRayFileHeader> readBinaryFormatHeader(DataExtractor &HeaderExtractor, uint64_t &OffsetPtr) { … } } // namespace xray } // namespace llvm