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

Issue 252940043: i#1501 Port DynamoRIO to ARM: adjust label instr handling within IT blocks

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 9 months ago by zhaoqin
Modified:
8 years, 8 months ago
Reviewers:
alshehriali88, bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1501 Port DynamoRIO to ARM: adjust label instr handling within IT blocks - add encode_reset_it_block to reset encode state when necessary - reset encode state in build_bb_ilist when adding exit instr for svc.cc - skip label instrunction in encode_in_it_block getting prev instr - stop IT block construction on label instruction ---------------

Patch Set 1 #

Total comments: 8

Patch Set 2 : PTAL #

Patch Set 3 : final #

Patch Set 4 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -3 lines) Patch
M core/arch/arch_exports.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M core/arch/arm/encode.c View 3 chunks +14 lines, -1 line 0 comments Download
M core/arch/arm/mangle.c View 1 1 chunk +4 lines, -2 lines 0 comments Download
M core/arch/instrlist.c View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M core/arch/interp.c View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M core/emit.c View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 14
zhaoqin
8 years, 9 months ago (2015-07-04 21:13:35 UTC) #1
bruening
Not sure about the svc.cc https://codereview.appspot.com/252940043/diff/1/core/arch/arm/encode.c File core/arch/arm/encode.c (left): https://codereview.appspot.com/252940043/diff/1/core/arch/arm/encode.c#oldcode452 core/arch/arm/encode.c:452: if (instr == instr_get_prev(state->instr)) ...
8 years, 9 months ago (2015-07-06 17:15:28 UTC) #2
zhaoqin
Commit log for latest patchset: --------------- i#1501 Port DynamoRIO to ARM: adjust label instr handling ...
8 years, 9 months ago (2015-07-06 19:31:05 UTC) #3
zhaoqin
https://codereview.appspot.com/252940043/diff/1/core/arch/arm/encode.c File core/arch/arm/encode.c (right): https://codereview.appspot.com/252940043/diff/1/core/arch/arm/encode.c#newcode456 core/arch/arm/encode.c:456: ; /* do nothing to skip the label instr ...
8 years, 9 months ago (2015-07-06 19:31:07 UTC) #4
bruening
https://codereview.appspot.com/252940043/diff/1/core/arch/interp.c File core/arch/interp.c (right): https://codereview.appspot.com/252940043/diff/1/core/arch/interp.c#newcode4253 core/arch/interp.c:4253: * encode state to avoid holding a dangling pointer. ...
8 years, 9 months ago (2015-07-07 21:59:06 UTC) #5
zhaoqin
On 2015/07/07 21:59:06, bruening wrote: > https://codereview.appspot.com/252940043/diff/1/core/arch/interp.c > File core/arch/interp.c (right): > > https://codereview.appspot.com/252940043/diff/1/core/arch/interp.c#newcode4253 > ...
8 years, 9 months ago (2015-07-07 22:52:26 UTC) #6
zhaoqin
> > I don't see any label-handling code there: I see my old code that ...
8 years, 9 months ago (2015-07-08 01:22:05 UTC) #7
zhaoqin
> > It is kind of general, it happens if the IT block just finish ...
8 years, 9 months ago (2015-07-08 01:39:29 UTC) #8
bruening
On 2015/07/08 01:39:29, zhaoqin wrote: > > > It is kind of general, it happens ...
8 years, 9 months ago (2015-07-09 02:48:29 UTC) #9
zhaoqin
On 2015/07/09 02:48:29, bruening wrote: > On 2015/07/08 01:39:29, zhaoqin wrote: > > > > ...
8 years, 9 months ago (2015-07-09 02:56:34 UTC) #10
bruening
Well I wish we had a more general soln. You mentioned a reset at top ...
8 years, 9 months ago (2015-07-10 21:24:48 UTC) #11
zhaoqin
Commit log for latest patchset: --------------- i#1501 Port DynamoRIO to ARM: adjust label instr handling ...
8 years, 9 months ago (2015-07-10 22:04:48 UTC) #12
zhaoqin
Committed as https://github.com/DynamoRIO/dynamorio/commit/9b0cee06e9872b4f3881908615f0b4cbaa87505a Final commit log: --------------- i#1501 Port DynamoRIO to ARM: adjust label instr ...
8 years, 9 months ago (2015-07-10 22:14:23 UTC) #13
alshehriali88
8 years, 8 months ago (2015-08-17 15:10:30 UTC) #14

          
Sign in to reply to this message.

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