LLVM  3.7.0
Enumerations | Functions
X86ELFObjectWriter.cpp File Reference
#include "MCTargetDesc/X86FixupKinds.h"
#include "MCTargetDesc/X86MCTargetDesc.h"
#include "llvm/MC/MCELFObjectWriter.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/ELF.h"
#include "llvm/Support/ErrorHandling.h"
Include dependency graph for X86ELFObjectWriter.cpp:

Go to the source code of this file.

Enumerations

enum  X86_64RelType {
  RT64_64, RT64_32, RT64_32S, RT64_16,
  RT64_8
}
 
enum  X86_32RelType { RT32_32, RT32_16, RT32_8 }
 

Functions

static X86_64RelType getType64 (unsigned Kind, MCSymbolRefExpr::VariantKind &Modifier, bool &IsPCRel)
 
static unsigned getRelocType64 (MCSymbolRefExpr::VariantKind Modifier, X86_64RelType Type, bool IsPCRel)
 
static X86_32RelType getType32 (X86_64RelType T)
 
static unsigned getRelocType32 (MCSymbolRefExpr::VariantKind Modifier, X86_32RelType Type, bool IsPCRel)
 

Enumeration Type Documentation

Enumerator
RT32_32 
RT32_16 
RT32_8 

Definition at line 165 of file X86ELFObjectWriter.cpp.

Enumerator
RT64_64 
RT64_32 
RT64_32S 
RT64_16 
RT64_8 

Definition at line 42 of file X86ELFObjectWriter.cpp.

Function Documentation

static unsigned getRelocType32 ( MCSymbolRefExpr::VariantKind  Modifier,
X86_32RelType  Type,
bool  IsPCRel 
)
static
static unsigned getRelocType64 ( MCSymbolRefExpr::VariantKind  Modifier,
X86_64RelType  Type,
bool  IsPCRel 
)
static
static X86_32RelType getType32 ( X86_64RelType  T)
static

Definition at line 167 of file X86ELFObjectWriter.cpp.

References llvm_unreachable, RT32_16, RT32_32, RT32_8, RT64_16, RT64_32, RT64_32S, RT64_64, and RT64_8.

static X86_64RelType getType64 ( unsigned  Kind,
MCSymbolRefExpr::VariantKind Modifier,
bool IsPCRel 
)
static