#include "AArch64TargetStreamer.h"
#include "AArch64MCAsmInfo.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/ConstantPools.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/CommandLine.h"
usingnamespacellvm;
static cl::opt<bool> MarkBTIProperty(
"aarch64-mark-bti-property", cl::Hidden,
cl::desc("Add .note.gnu.property with BTI to assembly files"),
cl::init(false));
AArch64TargetStreamer::AArch64TargetStreamer(MCStreamer &S)
: … { … }
AArch64TargetStreamer::~AArch64TargetStreamer() = default;
const MCExpr *AArch64TargetStreamer::addConstantPoolEntry(const MCExpr *Expr,
unsigned Size,
SMLoc Loc) { … }
void AArch64TargetStreamer::emitCurrentConstantPool() { … }
void AArch64TargetStreamer::emitConstantPools() { … }
void AArch64TargetStreamer::finish() { … }
void AArch64TargetStreamer::emitNoteSection(unsigned Flags,
uint64_t PAuthABIPlatform,
uint64_t PAuthABIVersion) { … }
void AArch64TargetStreamer::emitInst(uint32_t Inst) { … }
MCTargetStreamer *
llvm::createAArch64ObjectTargetStreamer(MCStreamer &S,
const MCSubtargetInfo &STI) { … }
MCTargetStreamer *llvm::createAArch64NullTargetStreamer(MCStreamer &S) { … }