LLVM  3.7.0
Macros | Functions
DIEHash.cpp File Reference
#include "ByteStreamer.h"
#include "DIEHash.h"
#include "DwarfDebug.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/DIE.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/MD5.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for DIEHash.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dwarfdebug"
 
#define COLLECT_ATTR(NAME)
 
#define ADD_ATTR(ATTR)
 

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

#define ADD_ATTR (   ATTR)
Value:
{ \
if (ATTR) \
hashAttribute(ATTR, Tag); \
}
* if(!EatIfPresent(lltok::kw_thread_local)) return false
ParseOptionalThreadLocal := /*empty.
#define COLLECT_ATTR (   NAME)
Value:
case dwarf::NAME: \
Attrs.NAME = V; \
break
#define DEBUG_TYPE   "dwarfdebug"

Definition at line 29 of file DIEHash.cpp.

Function Documentation

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 33 of file DIEHash.cpp.

References llvm::DIE::values().

Referenced by llvm::DIEHash::computeDIEODRSignature().