LLVM  6.0.0svn
Macros
ELF.cpp File Reference
#include "llvm/Object/ELF.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/BinaryFormat/ELFRelocs/x86_64.def"
#include "llvm/BinaryFormat/ELFRelocs/i386.def"
#include "llvm/BinaryFormat/ELFRelocs/Mips.def"
#include "llvm/BinaryFormat/ELFRelocs/AArch64.def"
#include "llvm/BinaryFormat/ELFRelocs/ARM.def"
#include "llvm/BinaryFormat/ELFRelocs/ARC.def"
#include "llvm/BinaryFormat/ELFRelocs/AVR.def"
#include "llvm/BinaryFormat/ELFRelocs/Hexagon.def"
#include "llvm/BinaryFormat/ELFRelocs/Lanai.def"
#include "llvm/BinaryFormat/ELFRelocs/PowerPC.def"
#include "llvm/BinaryFormat/ELFRelocs/PowerPC64.def"
#include "llvm/BinaryFormat/ELFRelocs/RISCV.def"
#include "llvm/BinaryFormat/ELFRelocs/SystemZ.def"
#include "llvm/BinaryFormat/ELFRelocs/Sparc.def"
#include "llvm/BinaryFormat/ELFRelocs/WebAssembly.def"
#include "llvm/BinaryFormat/ELFRelocs/AMDGPU.def"
#include "llvm/BinaryFormat/ELFRelocs/BPF.def"
Include dependency graph for ELF.cpp:

Go to the source code of this file.

Macros

#define STRINGIFY_ENUM_CASE(ns, name)
 
#define ELF_RELOC(name, value)   STRINGIFY_ENUM_CASE(ELF, name)
 

Macro Definition Documentation

◆ ELF_RELOC

#define ELF_RELOC (   name,
  value 
)    STRINGIFY_ENUM_CASE(ELF, name)

Definition at line 20 of file ELF.cpp.

◆ STRINGIFY_ENUM_CASE

#define STRINGIFY_ENUM_CASE (   ns,
  name 
)
Value:
case ns::name: \
return #name;
static const char * name

Definition at line 16 of file ELF.cpp.

Referenced by llvm::object::getELFRelocationTypeName().