validator_ragel: backslash escaping to double-quoting in .def files

Now it is slightly easier to read the *.def files, a backslashed parenthesis
followed by a non-backslashed one looked worse than just plain quotes.  Also,
makes the parsing code slightly longer and more readable.

Additionally, some renaming to make the code more readable: get_strings() is too
general, split_till_comma() is much better.

Original purpose of this change was to remove non-const references as
parameters, as the style guid suggests.  Done that.  For split_till_comma() it
produces 2 extra lines of code, otherwise would have to write something like
*(*it) more than once, which stinks.  Alternative suggestions are welcome.

BUG=http://code.google.com/p/nativeclient/issues/detail?id=2597
TEST=make check

Review URL: https://chromiumcodereview.appspot.com/9837035

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8105 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Removed unused crti/crtn bookend files for arm.

NOTE: pnacl generated nexes have neither .init not .fini
sections.

Since the pnacl TC seems to be doing fine without
those section, should we drop them for the nacl-gcc as well?
This would avoid having these files in scons and 
teaching the chrome gyp build about them.
Review URL: https://chromiumcodereview.appspot.com/9836042

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8106 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Revert the part of 8104 that broke the build

R= robertm
BUG=none
TEST=arm bots

Review URL: https://chromiumcodereview.appspot.com/9857013

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8107 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Fix register-shifted operations in ARM. That is, pull out corresponding forms
from class DataProc and Test. Will update tests when this (and CL 9969013)
have been committed.

BUG= http://code.google.com/p/nativeclient/issues/detail?id=2673
Review URL: https://chromiumcodereview.appspot.com/9811021

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8108 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Fix host arch check in pnacl common script

R= sehr
BUG=none
TEST=pnacl toolchain bot

Review URL: https://chromiumcodereview.appspot.com/9855025

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8109 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Print command in sandboxed LLC failure diagnostic

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/9809029

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8110 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Bump chrome rev to 128507
BUG=none
TEST=try
Review URL: https://chromiumcodereview.appspot.com/9838077

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8111 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Update .DEPS.git

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8112 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Add capability to specify instructions sequences to ignore on the command line.
Used to fix x86 enuminst (validator) tester using a simple sledge hammer.
Review URL: https://chromiumcodereview.appspot.com/9836058

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8113 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Enable some sandboxed translation tests
Except do it right this time.
Summary:
Use the standalone sandboxed translator driver for all arches in sbtc mode.
Don't stub-out the translate command; actually translate.
Adjust buildbot scripts to run the right tests, and don't build the
prerequisites on arm hw

BUG= http://code.google.com/p/nativeclient/issues/detail?id=2407
TEST= arm bots

Review URL: https://chromiumcodereview.appspot.com/9853033

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8114 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Change pnacl build-script arch tag for windows to x86_32 always.
"file" says that we are building 32-bit binaries on 64-bit windows.
This will match the forced setting in scons:

if os == 'win' or os == 'mac':
  machine = 'x86_32'

toolchainbinaries.py is still not set up to download the tarball though.

BUG= none
TEST= none

Review URL: https://chromiumcodereview.appspot.com/9860002

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8115 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Adding cache of validator corpus (per slave).

BUG=None
TEST=None
R=ncbray@chromium.org

Review URL: https://chromiumcodereview.appspot.com/9852017

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8116 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Bump gyp rev to match chrome, fix clang warn-as-error break
by turning off deprecated warnings for a specific test.
TEST=try
BUG=none
Review URL: https://chromiumcodereview.appspot.com/9863013

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8117 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Update .DEPS.git

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8118 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Explicitly set public-read ACL when uploading coverage data via gsutil_cp_dir.py Clone of:

https://chromiumcodereview.appspot.com/9857016/

BUG=None
TEST=None

Review URL: https://chromiumcodereview.appspot.com/9864043

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8119 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Add tests which cannot be run in pexe mode to a new suite, nonpexe_tests

Also remove special-case exceptions to not run sandboxed mode;
Some nonpexe tests are currently being run in sandboxed mode and some are not.
These tests actually do work in sandboxed mode. In the future we may
decide not to support this usage; however they should all be treated the same.

The next CL will make pnacl_generate_pexe=1 by default, such that "normal" usage will be
./scons <flags> smoke_tests
and to get the nonpexe tests,
./scons <flags> pnacl_generate_pexe=1 nonpexe_tests

BUG= http://code.google.com/p/nativeclient/issues/detail?id=2609
TEST= bots (new test set will be activated in the next CL)

Review URL: https://chromiumcodereview.appspot.com/9836115

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8120 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
mmap: Simplify the handling of PROT_NONE page filling

Fold the non-Windows case into the general case.

BUG=http://code.google.com/p/nativeclient/issues/detail?id=824
TEST=run_mmap_test

Review URL: https://chromiumcodereview.appspot.com/9837069

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8121 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
validator_ragel: remove all mentions of gettext and locale

Yes, I am feeling strongly about *not* having anything that *might* be useful
later, nobody-knows-when.

Localizing messages of an utility executable that only engineers will be
ever running is not worth the cost of reduced readability.

BUG=http://code.google.com/p/nativeclient/issues/detail?id=2597
TEST=none

Review URL: https://chromiumcodereview.appspot.com/9854023

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8122 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
GYP build for ARM untrusted runtime.

BUG= http://code.google.com/p/nativeclient/issues/detail?id=2687
TEST=run standalone gyp with platform=arm
Review URL: https://chromiumcodereview.appspot.com/9816003

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8123 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
Add framework to enumerate ARM instructions and see if we properly decode
each instruction, and handle special exceptions in the manual.

BUG= http://code.google.com/p/nativeclient/issues/detail?id=2673
Review URL: https://chromiumcodereview.appspot.com/9726016

git-svn-id: http://src.chromium.org/native_client/trunk/src/native_client@8124 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2