Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
f78cd2c2
Commit
f78cd2c2
authored
Jan 22, 2014
by
yb9976
Browse files
Moved function to appropriate file.
This API function is now also visible for the optimize variant.
parent
53621afc
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/debug/debugger.c
View file @
f78cd2c2
...
...
@@ -1236,16 +1236,6 @@ void firm_finish_debugger(void)
del_set
(
bp_idents
);
}
/**
* A gdb helper function to print firm objects.
*/
const
char
*
gdb_node_helper
(
void
*
firm_object
)
{
static
char
buf
[
1024
];
ir_snprintf
(
buf
,
sizeof
(
buf
),
"%+F"
,
firm_object
);
return
buf
;
}
const
char
*
gdb_tarval_helper
(
void
*
tv_object
)
{
static
char
buf
[
1024
];
...
...
ir/ir/irnode.c
View file @
f78cd2c2
...
...
@@ -1106,6 +1106,16 @@ dbg_info *(get_irn_dbg_info)(const ir_node *n)
return
get_irn_dbg_info_
(
n
);
}
/**
* A gdb helper function to print firm objects.
*/
const
char
*
gdb_node_helper
(
void
*
firm_object
)
{
static
char
buf
[
1024
];
ir_snprintf
(
buf
,
sizeof
(
buf
),
"%+F"
,
firm_object
);
return
buf
;
}
ir_switch_table
*
ir_new_switch_table
(
ir_graph
*
irg
,
size_t
n_entries
)
{
struct
obstack
*
obst
=
get_irg_obstack
(
irg
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment