DescriptionSubzero: Allow per-method controls.
Several aspects of compilation can now be controlled with fine per-function granularity:
- Focus -timing on individual functions
- Only translate certain functions
- Enable verbosity only for certain functions
- Force O2 translation for certain functions (with Om1 default)
In addition, -test-status limits the output of -verbose=status. This is just used to enable lit testing of the RangeSpec class.
The main motivation here is to enable bisection debugging of a PNaCl application running in the browser. The initial use is to control O2 versus Om1, and could be extended to control things like address mode inference and advanced phi lowering, possibly even controlling at the granularity of the instruction numbers.
BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4370
R=eholk@chromium.org, jpp@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=dd6dcfaf765dc93ae64ec45d623106f4b3a3c13a
Patch Set 1 #Patch Set 2 : Some cleanup #Patch Set 3 : More cleanup #
Total comments: 4
Messages
Total messages: 9 (3 generated)
|