#ifndef BOLT_CORE_BINARY_SECTION_H
#define BOLT_CORE_BINARY_SECTION_H
#include "bolt/Core/DebugData.h"
#include "bolt/Core/Relocation.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/Object/ELFObjectFile.h"
#include "llvm/Object/MachO.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/raw_ostream.h"
#include <map>
#include <memory>
#include <set>
namespace llvm {
class MCStreamer;
class MCSymbol;
usingnamespaceobject;
namespace bolt {
class BinaryContext;
class BinaryData;
class BinarySection { … };
inline uint8_t *copyByteArray(const uint8_t *Data, uint64_t Size) { … }
inline uint8_t *copyByteArray(StringRef Buffer) { … }
inline uint8_t *copyByteArray(ArrayRef<char> Buffer) { … }
inline raw_ostream &operator<<(raw_ostream &OS, const BinarySection &Section) { … }
}
}
#endif