#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 { … };
}
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() { … }