You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
42
external/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
vendored
Normal file
42
external/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
//===- AArch64TargetStreamer.cpp - AArch64TargetStreamer class ------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file implements the AArch64TargetStreamer class.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "AArch64TargetStreamer.h"
|
||||
#include "llvm/MC/ConstantPools.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
//
|
||||
// AArch64TargetStreamer Implemenation
|
||||
//
|
||||
AArch64TargetStreamer::AArch64TargetStreamer(MCStreamer &S)
|
||||
: MCTargetStreamer(S), ConstantPools(new AssemblerConstantPools()) {}
|
||||
|
||||
AArch64TargetStreamer::~AArch64TargetStreamer() = default;
|
||||
|
||||
// The constant pool handling is shared by all AArch64TargetStreamer
|
||||
// implementations.
|
||||
const MCExpr *AArch64TargetStreamer::addConstantPoolEntry(const MCExpr *Expr,
|
||||
unsigned Size,
|
||||
SMLoc Loc) {
|
||||
return ConstantPools->addEntry(Streamer, Expr, Size, Loc);
|
||||
}
|
||||
|
||||
void AArch64TargetStreamer::emitCurrentConstantPool() {
|
||||
ConstantPools->emitForCurrentSection(Streamer);
|
||||
}
|
||||
|
||||
// finish() - write out any non-empty assembler constant pools.
|
||||
void AArch64TargetStreamer::finish() { ConstantPools->emitAll(Streamer); }
|
||||
|
||||
void AArch64TargetStreamer::emitInst(uint32_t Inst) {}
|
Reference in New Issue
Block a user