mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Previously this change was submitted from a Windows machine, so changes made to the case of filenames and directory names did not survive the commit, and as a result the CMake source file names and the on-disk file names did not match on case-sensitive file systems. I'm resubmitting this patch from a Linux system, which hopefully allows the case changes to make it through unfettered. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277213 91177308-0d34-0410-b5e6-96231b3b80d8
36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
//===- MSFStreamLayout.h - Describes the layout of a stream -----*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_DEBUGINFO_MSF_MSFSTREAMLAYOUT_H
|
|
#define LLVM_DEBUGINFO_MSF_MSFSTREAMLAYOUT_H
|
|
|
|
#include "llvm/ADT/ArrayRef.h"
|
|
#include "llvm/Support/Endian.h"
|
|
|
|
#include <cstdint>
|
|
|
|
namespace llvm {
|
|
namespace msf {
|
|
|
|
/// \brief Describes the layout of a stream in an MSF layout. A "stream" here
|
|
/// is defined as any logical unit of data which may be arranged inside the MSF
|
|
/// file as a sequence of (possibly discontiguous) blocks. When we want to read
|
|
/// from a particular MSF Stream, we fill out a stream layout structure and the
|
|
/// reader uses it to determine which blocks in the underlying MSF file contain
|
|
/// the data, so that it can be pieced together in the right order.
|
|
class MSFStreamLayout {
|
|
public:
|
|
uint32_t Length;
|
|
ArrayRef<support::ulittle32_t> Blocks;
|
|
};
|
|
} // namespace msf
|
|
} // namespace llvm
|
|
|
|
#endif // LLVM_DEBUGINFO_MSF_MSFSTREAMLAYOUT_H
|