LLVM  8.0.1
Macros
ELF.cpp File Reference
#include "llvm/Object/ELF.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/Support/LEB128.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/AMDGPU.def"
#include "llvm/BinaryFormat/ELFRelocs/BPF.def"
#include "llvm/BinaryFormat/ELFRelocs/MSP430.def"
#include "llvm/BinaryFormat/DynamicTags.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)
 
#define DYNAMIC_STRINGIFY_ENUM(tag, value)
 
#define DYNAMIC_TAG(n, v)
 
#define HEXAGON_DYNAMIC_TAG(name, value)   DYNAMIC_STRINGIFY_ENUM(name, value)
 
#define MIPS_DYNAMIC_TAG(name, value)   DYNAMIC_STRINGIFY_ENUM(name, value)
 
#define PPC64_DYNAMIC_TAG(name, value)   DYNAMIC_STRINGIFY_ENUM(name, value)
 
#define MIPS_DYNAMIC_TAG(name, value)
 
#define HEXAGON_DYNAMIC_TAG(name, value)
 
#define PPC64_DYNAMIC_TAG(name, value)
 
#define DYNAMIC_TAG_MARKER(name, value)
 
#define DYNAMIC_TAG(name, value)   DYNAMIC_STRINGIFY_ENUM(name, value)
 

Macro Definition Documentation

◆ DYNAMIC_STRINGIFY_ENUM

#define DYNAMIC_STRINGIFY_ENUM (   tag,
  value 
)
Value:
case value: \
return #tag;

◆ DYNAMIC_TAG [1/2]

#define DYNAMIC_TAG (   n,
 
)

◆ DYNAMIC_TAG [2/2]

#define DYNAMIC_TAG (   name,
  value 
)    DYNAMIC_STRINGIFY_ENUM(name, value)

◆ DYNAMIC_TAG_MARKER

#define DYNAMIC_TAG_MARKER (   name,
  value 
)

◆ ELF_RELOC

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

Definition at line 21 of file ELF.cpp.

◆ HEXAGON_DYNAMIC_TAG [1/2]

#define HEXAGON_DYNAMIC_TAG (   name,
  value 
)    DYNAMIC_STRINGIFY_ENUM(name, value)

◆ HEXAGON_DYNAMIC_TAG [2/2]

#define HEXAGON_DYNAMIC_TAG (   name,
  value 
)

◆ MIPS_DYNAMIC_TAG [1/2]

#define MIPS_DYNAMIC_TAG (   name,
  value 
)    DYNAMIC_STRINGIFY_ENUM(name, value)

◆ MIPS_DYNAMIC_TAG [2/2]

#define MIPS_DYNAMIC_TAG (   name,
  value 
)

◆ PPC64_DYNAMIC_TAG [1/2]

#define PPC64_DYNAMIC_TAG (   name,
  value 
)    DYNAMIC_STRINGIFY_ENUM(name, value)

◆ PPC64_DYNAMIC_TAG [2/2]

#define PPC64_DYNAMIC_TAG (   name,
  value 
)

◆ STRINGIFY_ENUM_CASE

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

Definition at line 17 of file ELF.cpp.

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