13#ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DIEHASH_H
14#define LLVM_LIB_CODEGEN_ASMPRINTER_DIEHASH_H
29#define HANDLE_DIE_HASH_ATTR(NAME) DIEValue NAME;
30#include "DIEHashAttributes.def"
46 void addParentContext(
const DIE &Parent);
49 void addAttributes(
const DIE &Die);
52 void computeHash(
const DIE &Die);
73 void collectAttributes(
const DIE &Die, DIEAttrs &Attrs);
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
This file defines the DenseMap class.
This class is intended to be used as a driving class for all asm writers.
An object containing the capability of hashing and adding hash attributes onto a DIE.
void update(uint8_t Value)
Adds.
void hashRawTypeReference(const DIE &Entry)
uint64_t computeTypeSignature(const DIE &Die)
Computes the type signature.
DIEHash(AsmPrinter *A=nullptr, DwarfCompileUnit *CU=nullptr)
void addSLEB128(int64_t Value)
Encodes and adds.
uint64_t computeCUSignature(StringRef DWOName, const DIE &Die)
Computes the CU signature.
void addULEB128(uint64_t Value)
Encodes and adds.
Represents a pointer to a location list in the debug_loc section.
A structured debug information entry.
void update(ArrayRef< uint8_t > Data)
Updates the hash for the byte stream provided.
StringRef - Represent a constant reference to a string, i.e.
LLVM Value Representation.
A range adaptor for a pair of iterators.
This is an optimization pass for GlobalISel generic memory operations.