Chromium Code Reviews
DescriptionCreate one-off tool pnacl-hack-memset
This tool takes a pexe, looks for calls to memset that (were) broken in
subzero, and does a patch to such calls.
That is, if the 2nd argument is a negative i8 (i.e. 0x80 through 0xff),
and the third argument is a constant, the code adds zero to the third
argument. This fix disables the (formerly) broken subzero optimization.
This hack is only necessary until about 10/31/16, when M54 gets released
for chromeos.
Note: Has command-line option --show-fixes if you want to see the calls
that were fixed.
BUG=None
R=stichnot@chromium.org
Committed: https://chromium.googlesource.com/native_client/pnacl-llvm/+/5a8750930b705846f477de8c51a837e467ad875d
Patch Set 1 #
Total comments: 12
Patch Set 2 : Fix issues raised in patch set 1. #
Total comments: 4
Patch Set 3 : Fix comments as suggested in patch set 2. #
Messages
Total messages: 9 (3 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||