#ifndef LLVM_OBJECT_MACHOUNIVERSALWRITER_H
#define LLVM_OBJECT_MACHOUNIVERSALWRITER_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Support/Error.h"
#include <cstdint>
#include <string>
namespace llvm {
class LLVMContext;
namespace object {
class Archive;
class Binary;
class IRObjectFile;
class MachOObjectFile;
class Slice { … };
enum class FatHeaderType { … };
Error writeUniversalBinary(ArrayRef<Slice> Slices, StringRef OutputFileName,
FatHeaderType FatHeader = FatHeaderType::FatHeader);
Error writeUniversalBinaryToStream(
ArrayRef<Slice> Slices, raw_ostream &Out,
FatHeaderType FatHeader = FatHeaderType::FatHeader);
}
}
#endif