projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix cmp_ASM_attr
[libfirm]
/
ir
/
be
/
bestabs.c
diff --git
a/ir/be/bestabs.c
b/ir/be/bestabs.c
index
cc1a703
..
265882f
100644
(file)
--- a/
ir/be/bestabs.c
+++ b/
ir/be/bestabs.c
@@
-718,7
+718,7
@@
static void stabs_method_begin(dbg_handle *handle, const ir_entity *ent)
between_size = get_type_size_bytes(layout->between_type);
for (i = 0, n = get_method_n_params(mtp); i < n; ++i) {
ir_type *ptp = get_method_param_type(mtp, i);
between_size = get_type_size_bytes(layout->between_type);
for (i = 0, n = get_method_n_params(mtp); i < n; ++i) {
ir_type *ptp = get_method_param_type(mtp, i);
- const char *name =
get_method_param_name(mtp, i)
;
+ const char *name =
NULL
;
unsigned type_num = get_type_number(h, ptp);
char buf[16];
int ofs = 0;
unsigned type_num = get_type_number(h, ptp);
char buf[16];
int ofs = 0;
@@
-831,11
+831,11
@@
static void stabs_variable(dbg_handle *handle, const ir_entity *ent)
if (linkage & IR_LINKAGE_CONSTANT)
kind = N_ROSYM;
snprintf(buf, sizeof(buf), "\t.stabs\t\"%s:S%u\",%d,0,0,%s\n",
if (linkage & IR_LINKAGE_CONSTANT)
kind = N_ROSYM;
snprintf(buf, sizeof(buf), "\t.stabs\t\"%s:S%u\",%d,0,0,%s\n",
- get_entity_name(ent), tp_num, kind, get_entity_ld_name(ent));
+
get_entity_name(ent), tp_num, kind, get_entity_ld_name(ent));
} else {
/* a global variable */
snprintf(buf, sizeof(buf), "\t.stabs\t\"%s:G%u\",%d,0,0,0\n",
} else {
/* a global variable */
snprintf(buf, sizeof(buf), "\t.stabs\t\"%s:G%u\",%d,0,0,0\n",
-
get_entity_name(ent), tp_num,
N_GSYM);
+
get_entity_name(ent), tp_num, (int)
N_GSYM);
}
buf[sizeof(buf) - 1] = '\0';
}
buf[sizeof(buf) - 1] = '\0';
@@
-875,7
+875,7
@@
static dbg_handle *be_stabs_open(void)
return &h->base;
}
return &h->base;
}
-BE_REGISTER_MODULE_CONSTRUCTOR(be_init_stabs)
;
+BE_REGISTER_MODULE_CONSTRUCTOR(be_init_stabs)
void be_init_stabs(void)
{
be_register_dbgout_module("stabs", be_stabs_open);
void be_init_stabs(void)
{
be_register_dbgout_module("stabs", be_stabs_open);