def die_get_type_offset(die):
    if ('DW_AT_type' not in die.attributes):
        die = die_get_spec(die)
        if (not die):
            return None
    return (die.attributes['DW_AT_type'].value + die.cu.cu_offset)
def die_get_type_offset(die):
    if ('DW_AT_type' not in die.attributes):
        die = die_get_spec(die)
        if (not die):
            return None
    return (die.attributes['DW_AT_type'].value + die.cu.cu_offset)