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

Issue 311330043: i#1569 AArch64: Create clean_call_opt_shared.c and refactor. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 5 months ago by Edmund.Grimley.Evans
Modified:
7 years, 4 months ago
Reviewers:
bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1569 AArch64: Create clean_call_opt_shared.c and refactor. About half of x86/clean_call_opt.c is moved to clean_call_opt_shared.c with minor changes. Prototypes for a new internal API are in clean_call_opt.h and {aarch64,arm}/clean_call_opt.c are rewritten accordingly with ASSERT_NOT_IMPLEMENTED in function bodies. This is based on work done by Kevin Zhou in July. ---------------

Patch Set 1 #

Total comments: 26

Patch Set 2 : Added check_callee_instr_level2 #

Total comments: 3

Patch Set 3 : bool #

Patch Set 4 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1042 lines, -921 lines) Patch
M core/CMakeLists.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M core/arch/aarch64/clean_call_opt.c View 1 1 chunk +43 lines, -25 lines 0 comments Download
M core/arch/arch.h View 1 chunk +1 line, -1 line 0 comments Download
M core/arch/arm/clean_call_opt.c View 1 1 chunk +43 lines, -31 lines 0 comments Download
A + core/arch/clean_call_opt.h View 1 1 chunk +48 lines, -40 lines 0 comments Download
A core/arch/clean_call_opt_shared.c View 1 2 1 chunk +828 lines, -0 lines 0 comments Download
M core/arch/x86/clean_call_opt.c View 1 11 chunks +78 lines, -824 lines 0 comments Download

Messages

Total messages: 13
Edmund.Grimley.Evans
7 years, 5 months ago (2016-11-23 10:11:29 UTC) #1
Edmund.Grimley.Evans
Ping.
7 years, 4 months ago (2016-12-05 09:51:33 UTC) #2
bruening
https://codereview.appspot.com/311330043/diff/1/core/arch/arm/clean_call_opt.c File core/arch/arm/clean_call_opt.c (right): https://codereview.appspot.com/311330043/diff/1/core/arch/arm/clean_call_opt.c#newcode43 core/arch/arm/clean_call_opt.c:43: ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1551: NYI on ARM */ i#1551 ...
7 years, 4 months ago (2016-12-05 18:15:47 UTC) #3
bruening
Meant to give a top-level comment that overall it looks fairly good: just some minor ...
7 years, 4 months ago (2016-12-05 18:27:02 UTC) #4
bruening
https://codereview.appspot.com/311330043/diff/1/core/arch/clean_call_opt.h File core/arch/clean_call_opt.h (right): https://codereview.appspot.com/311330043/diff/1/core/arch/clean_call_opt.h#newcode33 core/arch/clean_call_opt.h:33: /* file "clean_call_opt.h" - arch-specific clean call optimisation */ ...
7 years, 4 months ago (2016-12-06 05:40:15 UTC) #5
Edmund.Grimley.Evans
https://codereview.appspot.com/311330043/diff/1/core/arch/arm/clean_call_opt.c File core/arch/arm/clean_call_opt.c (right): https://codereview.appspot.com/311330043/diff/1/core/arch/arm/clean_call_opt.c#newcode43 core/arch/arm/clean_call_opt.c:43: ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1551: NYI on ARM */ On ...
7 years, 4 months ago (2016-12-06 11:44:41 UTC) #6
Edmund.Grimley.Evans
Commit log for latest patchset: --------------- i#1569 AArch64: Create clean_call_opt_shared.c and refactor. About half of ...
7 years, 4 months ago (2016-12-06 11:46:34 UTC) #7
bruening
https://codereview.appspot.com/311330043/diff/20001/core/arch/clean_call_opt_shared.c File core/arch/clean_call_opt_shared.c (right): https://codereview.appspot.com/311330043/diff/20001/core/arch/clean_call_opt_shared.c#newcode478 core/arch/clean_call_opt_shared.c:478: opt_inline &= check_callee_ilist_inline(dcontext, ci) ? 1 : 0; This ...
7 years, 4 months ago (2016-12-06 16:26:20 UTC) #8
Edmund.Grimley.Evans
https://codereview.appspot.com/311330043/diff/20001/core/arch/clean_call_opt_shared.c File core/arch/clean_call_opt_shared.c (right): https://codereview.appspot.com/311330043/diff/20001/core/arch/clean_call_opt_shared.c#newcode478 core/arch/clean_call_opt_shared.c:478: opt_inline &= check_callee_ilist_inline(dcontext, ci) ? 1 : 0; On ...
7 years, 4 months ago (2016-12-06 17:27:39 UTC) #9
bruening
https://codereview.appspot.com/311330043/diff/20001/core/arch/clean_call_opt_shared.c File core/arch/clean_call_opt_shared.c (right): https://codereview.appspot.com/311330043/diff/20001/core/arch/clean_call_opt_shared.c#newcode478 core/arch/clean_call_opt_shared.c:478: opt_inline &= check_callee_ilist_inline(dcontext, ci) ? 1 : 0; On ...
7 years, 4 months ago (2016-12-06 17:41:26 UTC) #10
Edmund.Grimley.Evans
Commit log for latest patchset: --------------- i#1569 AArch64: Create clean_call_opt_shared.c and refactor. About half of ...
7 years, 4 months ago (2016-12-07 15:57:46 UTC) #11
bruening
LGTM
7 years, 4 months ago (2016-12-07 16:54:48 UTC) #12
Edmund.Grimley.Evans
7 years, 4 months ago (2016-12-08 10:29:21 UTC) #13
Committed as
https://github.com/DynamoRIO/dynamorio/commit/7ff49b0978805ef144ddaa0026cc596...

Final commit log: 
---------------
i#1569 AArch64: Create clean_call_opt_shared.c and refactor.

About half of x86/clean_call_opt.c is moved to clean_call_opt_shared.c
with minor changes. Prototypes for a new internal API are in
clean_call_opt.h and {aarch64,arm}/clean_call_opt.c are rewritten
accordingly with ASSERT_NOT_IMPLEMENTED in function bodies.

This is based on work done by Kevin Zhou in July.

Review-URL: https://codereview.appspot.com/311330043
---------------
Sign in to reply to this message.

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