Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Issue 331743002: Ignore stack adjustment for ebp-based variables (Closed)

Created:
6 years, 6 months ago by Jim Stichnoth
Modified:
6 years, 6 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Ignore stack adjustment for ebp-based variables. The TargetX8632 class maintains a "current stack adjustment" during a push sequence, so that pushing or otherwise accessing stack locations during a function arg push sequence can use the right esp offset. This adjustment should only be used for esp-based frames, but it was being used for ebp-based frames as well, causing the wrong stack-based arguments to be pushed. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3878 R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=b0e142b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -1 line) Patch
M src/IceTargetLoweringX8632.cpp View 1 chunk +3 lines, -1 line 0 comments Download
A tests_lit/llvm2ice_tests/ebp_args.ll View 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Jim Stichnoth
6 years, 6 months ago (2014-06-12 21:51:01 UTC) #1
jvoung (off chromium)
LGTM thanks! I guess the lit checks are short enough to fix up when we ...
6 years, 6 months ago (2014-06-12 22:05:28 UTC) #2
Jim Stichnoth
6 years, 6 months ago (2014-06-12 22:29:00 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as rb0e142b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698