forked from OSchip/llvm-project
43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
//===-- AArch64WinCOFFStreamer.h - WinCOFF Streamer for AArch64 -*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file implements WinCOFF streamer information for the AArch64 backend.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64WINCOFFSTREAMER_H
|
|
#define LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64WINCOFFSTREAMER_H
|
|
|
|
#include "AArch64TargetStreamer.h"
|
|
#include "llvm/MC/MCWinCOFFStreamer.h"
|
|
|
|
namespace {
|
|
class AArch64WinCOFFStreamer;
|
|
|
|
class AArch64TargetWinCOFFStreamer : public llvm::AArch64TargetStreamer {
|
|
private:
|
|
AArch64WinCOFFStreamer &getStreamer();
|
|
|
|
public:
|
|
AArch64TargetWinCOFFStreamer(llvm::MCStreamer &S)
|
|
: AArch64TargetStreamer(S) {}
|
|
};
|
|
|
|
} // end anonymous namespace
|
|
|
|
namespace llvm {
|
|
|
|
MCWinCOFFStreamer *createAArch64WinCOFFStreamer(
|
|
MCContext &Context, std::unique_ptr<MCAsmBackend> TAB,
|
|
raw_pwrite_stream &OS, std::unique_ptr<MCCodeEmitter> Emitter,
|
|
bool RelaxAll, bool IncrementalLinkerCompatible);
|
|
} // end llvm namespace
|
|
|
|
#endif
|