Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1609)

Unified Diff: core/arch/arm/clean_call_opt.c

Issue 175430044: i#1551 Port DynamoRIO to ARM: fix link error for ARM build (Closed) Base URL: https://dynamorio.googlecode.com/svn/trunk
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/arch/arm/arm.asm ('k') | core/arch/arm/emit_utils.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/arch/arm/clean_call_opt.c
diff --git a/core/arch/arm/clean_call_opt.c b/core/arch/arm/clean_call_opt.c
index eb67b7d574e0ed758ff38e2e1ab98b5d92c61c18..5896f876feae0fbc76fa8dfb6c487a27f767700e 100644
--- a/core/arch/arm/clean_call_opt.c
+++ b/core/arch/arm/clean_call_opt.c
@@ -41,11 +41,24 @@
#ifdef CLIENT_INTERFACE
+static void
+callee_info_init(callee_info_t *ci)
+{
+ memset(ci, 0, sizeof(*ci));
+ ci->bailout = true;
+ /* to be conservative */
+ ci->has_locals = true;
+ ci->write_aflags = true;
+ ci->read_aflags = true;
+ ci->tls_used = true;
+}
+
void
clean_call_opt_init(void)
{
/* FIXME i#1551: NYI on ARM */
ASSERT_NOT_IMPLEMENTED(INTERNAL_OPTION(opt_cleancall) == 0);
+ callee_info_init(&default_callee_info);
}
void
@@ -55,4 +68,20 @@ clean_call_opt_exit(void)
ASSERT_NOT_IMPLEMENTED(INTERNAL_OPTION(opt_cleancall) == 0);
}
+bool
+analyze_clean_call(dcontext_t *dcontext, clean_call_info_t *cci, instr_t *where,
+ void *callee, bool save_fpstate, uint num_args, opnd_t *args)
+{
+ /* FIXME i#1551: NYI on ARM */
+ ASSERT_NOT_IMPLEMENTED(INTERNAL_OPTION(opt_cleancall) == 0);
+ return false;
+}
+
+void
+insert_inline_clean_call(dcontext_t *dcontext, clean_call_info_t *cci,
+ instrlist_t *ilist, instr_t *where, opnd_t *args)
+{
+ /* FIXME i#1551: NYI on ARM */
+ ASSERT_NOT_REACHED();
+}
#endif /* CLIENT_INTERFACE */
« no previous file with comments | « core/arch/arm/arm.asm ('k') | core/arch/arm/emit_utils.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b