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

Issue 352001: Handle stackwalking programs with the assignment operator smashed against the next token (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by bsmedberg
Modified:
13 years, 5 months ago
Reviewers:
Ted Mielczarek, Mark Mentovai, jimb
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Handle stackwalking programs with the assignment operator smashed against the
next token

Patch Set 1 #

Patch Set 2 : Handling stackwalking programs with the assignment operator smashed against the next token, properl… #

Patch Set 3 : Handle stackwalking programs with the assignment operator smashed against the next token, rebased a… #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/processor/postfix_evaluator-inl.h View 1 2 1 chunk +142 lines, -120 lines 2 comments Download
M src/processor/postfix_evaluator.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/processor/postfix_evaluator_unittest.cc View 2 chunks +3 lines, -0 lines 1 comment Download

Messages

Total messages: 7
Ted Mielczarek
I don't have time to review this. Mark, can you take a look?
13 years, 5 months ago #1
Mark Mentovai
Benjamin, when do you see these smash-ups? What platform?
13 years, 5 months ago #2
jimb_red-bean.com
Why can't we just fix the symbol writer, and let folks who need it take ...
13 years, 5 months ago #3
Mark Mentovai
Ha, beat you! I was going to say what Jim said if the answer was ...
13 years, 5 months ago #4
bsmedberg
This is definitely Windows, the programs are embedded by MSVC10, and probably only by MSVC10 ...
13 years, 5 months ago #5
jimb_red-bean.com
On Thu, Feb 23, 2012 at 5:12 AM, <bsmedberg@gmail.com> wrote: > This is definitely Windows, ...
13 years, 5 months ago #6
Mark Mentovai
13 years, 5 months ago #7
LGTM with these two minor changes, which I’ve made. I committed this patch as
r926.

http://breakpad.appspot.com/352001/diff/4001/src/processor/postfix_evaluator-...
File src/processor/postfix_evaluator-inl.h (right):

http://breakpad.appspot.com/352001/diff/4001/src/processor/postfix_evaluator-...
src/processor/postfix_evaluator-inl.h:72: DictionaryValidityType *assigned)
Style nit: this line hits 81 characters. There’s a better way to wrap the
arguments to avoid this.

http://breakpad.appspot.com/352001/diff/4001/src/processor/postfix_evaluator-...
src/processor/postfix_evaluator-inl.h:214: // $T0 $ebp 128 + =$eip $T0 4 + ^
=$ebp $T0 ^ =
You should comment here that this has been observed in at least MSVS 2010 in LTO
mode.

http://breakpad.appspot.com/352001/diff/4001/src/processor/postfix_evaluator_...
File src/processor/postfix_evaluator_unittest.cc (right):

http://breakpad.appspot.com/352001/diff/4001/src/processor/postfix_evaluator_...
src/processor/postfix_evaluator_unittest.cc:153: { "$rAdd3 2 2 + =$rMul2 9 6 *
=", true } // smashed-equals tokenization
Thank you for adding a test case for this.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted