LLVM  14.0.0git
Macros | Functions
DIEHash.cpp File Reference
#include "DIEHash.h"
#include "ByteStreamer.h"
#include "DwarfCompileUnit.h"
#include "DwarfDebug.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/raw_ostream.h"
#include "DIEHashAttributes.def"
Include dependency graph for DIEHash.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dwarfdebug"
 
#define HANDLE_DIE_HASH_ATTR(NAME)
 
#define HANDLE_DIE_HASH_ATTR(NAME)
 

Functions

static StringRef getDIEStringAttr (const DIE &Die, uint16_t Attr)
 Grabs the string in whichever attribute is passed in and returns a reference to it. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "dwarfdebug"

Definition at line 27 of file DIEHash.cpp.

◆ HANDLE_DIE_HASH_ATTR [1/2]

#define HANDLE_DIE_HASH_ATTR (   NAME)
Value:
case dwarf::NAME: \
Attrs.NAME = V; \
break;

◆ HANDLE_DIE_HASH_ATTR [2/2]

#define HANDLE_DIE_HASH_ATTR (   NAME)
Value:
{ \
if (Attrs.NAME) \
hashAttribute(Attrs.NAME, Tag); \
}

Function Documentation

◆ getDIEStringAttr()

static StringRef getDIEStringAttr ( const DIE Die,
uint16_t  Attr 
)
static

Grabs the string in whichever attribute is passed in and returns a reference to it.

Definition at line 31 of file DIEHash.cpp.

References llvm::DIEValueList::values().

Attrs
Function Attrs
Definition: README_ALTIVEC.txt:215
llvm::dwarf::Tag
Tag
Definition: Dwarf.h:104