LLVM
8.0.1
include
llvm
XRay
FileHeaderReader.h
Go to the documentation of this file.
1
//===- FileHeaderReader.h - XRay Trace File Header Reading Function -------===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
//
10
// This file declares functions that can load an XRay log header from various
11
// sources.
12
//
13
//===----------------------------------------------------------------------===//
14
#ifndef LLVM_LIB_XRAY_FILEHEADERREADER_H_
15
#define LLVM_LIB_XRAY_FILEHEADERREADER_H_
16
17
#include "
llvm/Support/DataExtractor.h
"
18
#include "
llvm/Support/Error.h
"
19
#include "
llvm/XRay/XRayRecord.h
"
20
#include <cstdint>
21
22
namespace
llvm
{
23
namespace
xray {
24
25
/// Convenience function for loading the file header given a data extractor at a
26
/// specified offset.
27
Expected<XRayFileHeader>
readBinaryFormatHeader
(DataExtractor &HeaderExtractor,
28
uint32_t
&OffsetPtr);
29
30
}
// namespace xray
31
}
// namespace llvm
32
33
#endif // LLVM_LIB_XRAY_FILEHEADERREADER_H_
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::xray::readBinaryFormatHeader
Expected< XRayFileHeader > readBinaryFormatHeader(DataExtractor &HeaderExtractor, uint32_t &OffsetPtr)
Convenience function for loading the file header given a data extractor at a specified offset...
Definition:
FileHeaderReader.cpp:15
DataExtractor.h
XRayRecord.h
Error.h
uint32_t
Generated on Sun Dec 20 2020 13:53:40 for LLVM by
1.8.13