#include "AArch64TargetObjectFile.h"
#include "AArch64TargetMachine.h"
#include "MCTargetDesc/AArch64MCExpr.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCValue.h"
usingnamespacellvm;
usingnamespacedwarf;
void AArch64_ELFTargetObjectFile::Initialize(MCContext &Ctx,
const TargetMachine &TM) { … }
const MCExpr *AArch64_ELFTargetObjectFile::getIndirectSymViaGOTPCRel(
const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV,
int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { … }
AArch64_MachoTargetObjectFile::AArch64_MachoTargetObjectFile() { … }
const MCExpr *AArch64_MachoTargetObjectFile::getTTypeGlobalReference(
const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM,
MachineModuleInfo *MMI, MCStreamer &Streamer) const { … }
MCSymbol *AArch64_MachoTargetObjectFile::getCFIPersonalitySymbol(
const GlobalValue *GV, const TargetMachine &TM,
MachineModuleInfo *MMI) const { … }
const MCExpr *AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel(
const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV,
int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { … }
void AArch64_MachoTargetObjectFile::getNameWithPrefix(
SmallVectorImpl<char> &OutName, const GlobalValue *GV,
const TargetMachine &TM) const { … }
template <typename MachineModuleInfoTarget>
static MCSymbol *getAuthPtrSlotSymbolHelper(
MCContext &Ctx, const TargetMachine &TM, MachineModuleInfo *MMI,
MachineModuleInfoTarget &TargetMMI, const MCSymbol *RawSym,
AArch64PACKey::ID Key, uint16_t Discriminator) { … }
MCSymbol *AArch64_ELFTargetObjectFile::getAuthPtrSlotSymbol(
const TargetMachine &TM, MachineModuleInfo *MMI, const MCSymbol *RawSym,
AArch64PACKey::ID Key, uint16_t Discriminator) const { … }
MCSymbol *AArch64_MachoTargetObjectFile::getAuthPtrSlotSymbol(
const TargetMachine &TM, MachineModuleInfo *MMI, const MCSymbol *RawSym,
AArch64PACKey::ID Key, uint16_t Discriminator) const { … }