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

Issue 316210043: TBR: Allow 0 raw spill slots to be requested

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

Description

Commit log for first patchset: --------------- Allow 0 raw spill slots to be requested Updates dr_raw_tls_calloc() to support requests of 0 spill slots, solely to obtain the segment register. Updates helper routines to fail on 0 slots. This usage shows up with drreg with the inc2add sample which doesn't want to spill but wants to analyze liveness. ---------------

Patch Set 1 #

Patch Set 2 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M core/lib/instrument.c View 3 chunks +5 lines, -1 line 0 comments Download
M core/lib/instrument_api.h View 2 chunks +4 lines, -1 line 0 comments Download
M core/unix/os.c View 1 chunk +1 line, -1 line 0 comments Download
M core/win32/os.c View 2 chunks +3 lines, -1 line 0 comments Download
M ext/drreg/drreg.c View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 2
bruening
7 years, 2 months ago (2017-01-30 05:35:07 UTC) #1
bruening
7 years, 2 months ago (2017-01-30 05:35:16 UTC) #2
Committed as
https://github.com/DynamoRIO/dynamorio/commit/21a12fb400a6e878161784dfd4fa625...

Final commit log: 
---------------
Allow 0 raw spill slots to be requested

Updates dr_raw_tls_calloc() to support requests of 0 spill slots, solely to
obtain the segment register.  Updates helper routines to fail on 0 slots.
This usage shows up with drreg with the inc2add sample which doesn't want
to spill but wants to analyze liveness.

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

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