GCC Middle and Back End API Reference
external_ref_hasher Struct Reference
Inheritance diagram for external_ref_hasher:
Collaboration diagram for external_ref_hasher:

Public Types

typedef external_ref value_type
typedef external_ref compare_type

Static Public Member Functions

static hashval_t hash (const value_type *)
static bool equal (const value_type *, const compare_type *)
static void remove (external_ref *p)

Detailed Description

   Hashtable helpers.  

Member Typedef Documentation


Member Function Documentation

bool external_ref_hasher::equal ( const value_type r1,
const compare_type r2 
)
inlinestatic
hashval_t external_ref_hasher::hash ( const value_type r)
inlinestatic
     We can't use the address of the DIE for hashing, because
     that will make the order of the stub DIEs non-deterministic.  
       We have a symbol; use it to compute a hash.  
         We have a type signature; use a subset of the bits as the hash.
         The 8-byte signature is at least as large as hashval_t.  
static void typed_free_remove< external_ref >::remove ( external_ref p)
inlinestaticinherited
   Remove with free.  

The documentation for this struct was generated from the following file: