DM_RETURNS_TWICE = 1 << 25,
DM_MALLOC = 1 << 26,
DM_WEAK = 1 << 27,
+ DM_LEAF = 1 << 28,
} decl_modifier_t;
typedef enum elf_visibility_tag_t {
} v;
};
-struct parameter_t {
- declaration_t base;
- bool address_taken : 1;
- bool read : 1;
-
- /* ast2firm info */
- union {
- unsigned int value_number;
- ir_entity *entity;
- } v;
-};
-
struct function_t {
declaration_t base;
bool is_inline : 1;
typedef_t typedefe;
declaration_t declaration;
variable_t variable;
- parameter_t parameter;
function_t function;
compound_member_t compound_member;
};
const char *get_entity_kind_name(entity_kind_t kind);
-entity_t *allocate_entity_zero(entity_kind_t, entity_namespace_t, symbol_t*);
+entity_t *allocate_entity_zero(entity_kind_t, entity_namespace_t, symbol_t*, source_position_t const*);
elf_visibility_tag_t get_elf_visibility_from_string(const char *string);