LLVM  6.0.0svn
Macros
Dwarf.cpp File Reference
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/BinaryFormat/Dwarf.def"
Include dependency graph for Dwarf.cpp:

Go to the source code of this file.

Macros

#define HANDLE_DW_TAG(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_TAG(ID, NAME, VERSION, VENDOR)   .Case("DW_TAG_" #NAME, DW_TAG_##NAME)
 
#define HANDLE_DW_TAG(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_TAG(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_AT(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_AT(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_AT(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_FORM(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_FORM(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_FORM(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_OP(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_OP(ID, NAME, VERSION, VENDOR)   .Case("DW_OP_" #NAME, DW_OP_##NAME)
 
#define HANDLE_DW_OP(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_OP(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_ATE(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_ATE(ID, NAME, VERSION, VENDOR)   .Case("DW_ATE_" #NAME, DW_ATE_##NAME)
 
#define HANDLE_DW_ATE(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_ATE(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_VIRTUALITY(ID, NAME)
 
#define HANDLE_DW_VIRTUALITY(ID, NAME)   .Case("DW_VIRTUALITY_" #NAME, DW_VIRTUALITY_##NAME)
 
#define HANDLE_DW_LANG(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_LANG(ID, NAME, VERSION, VENDOR)   .Case("DW_LANG_" #NAME, DW_LANG_##NAME)
 
#define HANDLE_DW_LANG(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_LANG(ID, NAME, VERSION, VENDOR)
 
#define HANDLE_DW_CC(ID, NAME)
 
#define HANDLE_DW_CC(ID, NAME)   .Case("DW_CC_" #NAME, DW_CC_##NAME)
 
#define HANDLE_DW_LNS(ID, NAME)
 
#define HANDLE_DW_LNE(ID, NAME)
 
#define HANDLE_DW_CFA(ID, NAME)
 
#define HANDLE_DW_APPLE_PROPERTY(ID, NAME)
 
#define HANDLE_DW_UT(ID, NAME)
 

Macro Definition Documentation

◆ HANDLE_DW_APPLE_PROPERTY

#define HANDLE_DW_APPLE_PROPERTY (   ID,
  NAME 
)
Value:
case DW_APPLE_PROPERTY_##NAME: \
return "DW_APPLE_PROPERTY_" #NAME;

◆ HANDLE_DW_AT [1/3]

#define HANDLE_DW_AT (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_AT_##NAME: \
return "DW_AT_" #NAME;

◆ HANDLE_DW_AT [2/3]

#define HANDLE_DW_AT (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_AT_##NAME: \
return VERSION;

◆ HANDLE_DW_AT [3/3]

#define HANDLE_DW_AT (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_AT_##NAME: \
return DWARF_VENDOR_##VENDOR;

◆ HANDLE_DW_ATE [1/4]

#define HANDLE_DW_ATE (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_ATE_##NAME: \
return "DW_ATE_" #NAME;

Referenced by llvm::dwarf::getAttributeEncoding().

◆ HANDLE_DW_ATE [2/4]

#define HANDLE_DW_ATE (   ID,
  NAME,
  VERSION,
  VENDOR 
)    .Case("DW_ATE_" #NAME, DW_ATE_##NAME)

◆ HANDLE_DW_ATE [3/4]

#define HANDLE_DW_ATE (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_ATE_##NAME: \
return VERSION;

◆ HANDLE_DW_ATE [4/4]

#define HANDLE_DW_ATE (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_ATE_##NAME: \
return DWARF_VENDOR_##VENDOR;

◆ HANDLE_DW_CC [1/2]

#define HANDLE_DW_CC (   ID,
  NAME 
)
Value:
case DW_CC_##NAME: \
return "DW_CC_" #NAME;

Referenced by llvm::dwarf::getCallingConvention().

◆ HANDLE_DW_CC [2/2]

#define HANDLE_DW_CC (   ID,
  NAME 
)    .Case("DW_CC_" #NAME, DW_CC_##NAME)

◆ HANDLE_DW_CFA

#define HANDLE_DW_CFA (   ID,
  NAME 
)
Value:
case DW_CFA_##NAME: \
return "DW_CFA_" #NAME;

◆ HANDLE_DW_FORM [1/3]

#define HANDLE_DW_FORM (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_FORM_##NAME: \
return "DW_FORM_" #NAME;

◆ HANDLE_DW_FORM [2/3]

#define HANDLE_DW_FORM (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_FORM_##NAME: \
return VERSION;

◆ HANDLE_DW_FORM [3/3]

#define HANDLE_DW_FORM (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_FORM_##NAME: \
return DWARF_VENDOR_##VENDOR;

◆ HANDLE_DW_LANG [1/4]

#define HANDLE_DW_LANG (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_LANG_##NAME: \
return "DW_LANG_" #NAME;

Referenced by llvm::dwarf::getLanguage().

◆ HANDLE_DW_LANG [2/4]

#define HANDLE_DW_LANG (   ID,
  NAME,
  VERSION,
  VENDOR 
)    .Case("DW_LANG_" #NAME, DW_LANG_##NAME)

◆ HANDLE_DW_LANG [3/4]

#define HANDLE_DW_LANG (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_LANG_##NAME: \
return VERSION;

◆ HANDLE_DW_LANG [4/4]

#define HANDLE_DW_LANG (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_LANG_##NAME: \
return DWARF_VENDOR_##VENDOR;

◆ HANDLE_DW_LNE

#define HANDLE_DW_LNE (   ID,
  NAME 
)
Value:
case DW_LNE_##NAME: \
return "DW_LNE_" #NAME;

◆ HANDLE_DW_LNS

#define HANDLE_DW_LNS (   ID,
  NAME 
)
Value:
case DW_LNS_##NAME: \
return "DW_LNS_" #NAME;

◆ HANDLE_DW_OP [1/4]

#define HANDLE_DW_OP (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_OP_##NAME: \
return "DW_OP_" #NAME;

Referenced by llvm::dwarf::getOperationEncoding().

◆ HANDLE_DW_OP [2/4]

#define HANDLE_DW_OP (   ID,
  NAME,
  VERSION,
  VENDOR 
)    .Case("DW_OP_" #NAME, DW_OP_##NAME)

◆ HANDLE_DW_OP [3/4]

#define HANDLE_DW_OP (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_OP_##NAME: \
return VERSION;

◆ HANDLE_DW_OP [4/4]

#define HANDLE_DW_OP (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_OP_##NAME: \
return DWARF_VENDOR_##VENDOR;

◆ HANDLE_DW_TAG [1/4]

#define HANDLE_DW_TAG (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_TAG_##NAME: \
return "DW_TAG_" #NAME;

Referenced by llvm::dwarf::getTag().

◆ HANDLE_DW_TAG [2/4]

#define HANDLE_DW_TAG (   ID,
  NAME,
  VERSION,
  VENDOR 
)    .Case("DW_TAG_" #NAME, DW_TAG_##NAME)

◆ HANDLE_DW_TAG [3/4]

#define HANDLE_DW_TAG (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_TAG_##NAME: \
return VERSION;

◆ HANDLE_DW_TAG [4/4]

#define HANDLE_DW_TAG (   ID,
  NAME,
  VERSION,
  VENDOR 
)
Value:
case DW_TAG_##NAME: \
return DWARF_VENDOR_##VENDOR;

◆ HANDLE_DW_UT

#define HANDLE_DW_UT (   ID,
  NAME 
)
Value:
case DW_UT_##NAME: \
return "DW_UT_" #NAME;

◆ HANDLE_DW_VIRTUALITY [1/2]

#define HANDLE_DW_VIRTUALITY (   ID,
  NAME 
)
Value:
case DW_VIRTUALITY_##NAME: \
return "DW_VIRTUALITY_" #NAME;

Referenced by llvm::dwarf::getVirtuality().

◆ HANDLE_DW_VIRTUALITY [2/2]

#define HANDLE_DW_VIRTUALITY (   ID,
  NAME 
)    .Case("DW_VIRTUALITY_" #NAME, DW_VIRTUALITY_##NAME)