llvm/lld/ELF/Arch/AMDGPU.cpp

//===- AMDGPU.cpp ---------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "InputFiles.h"
#include "Symbols.h"
#include "Target.h"
#include "lld/Common/ErrorHandler.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/Support/Endian.h"

usingnamespacellvm;
usingnamespacellvm::object;
usingnamespacellvm::support::endian;
usingnamespacellvm::ELF;
usingnamespacelld;
usingnamespacelld::elf;

namespace {
class AMDGPU final : public TargetInfo {};
} // namespace

AMDGPU::AMDGPU() {}

static uint32_t getEFlags(InputFile *file) {}

uint32_t AMDGPU::calcEFlagsV3() const {}

uint32_t AMDGPU::calcEFlagsV4() const {}

uint32_t AMDGPU::calcEFlagsV6() const {}

uint32_t AMDGPU::calcEFlags() const {}

void AMDGPU::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {}

RelExpr AMDGPU::getRelExpr(RelType type, const Symbol &s,
                           const uint8_t *loc) const {}

RelType AMDGPU::getDynRel(RelType type) const {}

int64_t AMDGPU::getImplicitAddend(const uint8_t *buf, RelType type) const {}

TargetInfo *elf::getAMDGPUTargetInfo() {}