LLVM  6.0.0svn
Typedefs | Functions
MappedBlockStream.cpp File Reference
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/DebugInfo/MSF/MSFCommon.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/MathExtras.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <utility>
#include <vector>
Include dependency graph for MappedBlockStream.cpp:

Go to the source code of this file.

Typedefs

using Interval = std::pair< uint32_t, uint32_t >
 

Functions

static Interval intersect (const Interval &I1, const Interval &I2)
 

Typedef Documentation

◆ Interval

using Interval = std::pair<uint32_t, uint32_t>

Definition at line 39 of file MappedBlockStream.cpp.

Function Documentation

◆ intersect()

static Interval intersect ( const Interval I1,
const Interval I2 
)
static

Definition at line 41 of file MappedBlockStream.cpp.

References llvm::max().

Referenced by llvm::msf::MappedBlockStream::readBytes().