Chromium Code Reviews
DescriptionSubzero: Update tests and build scripts for sandboxing.
Spec2k now runs sandboxed, using all filetypes (asm, iasm, obj).
The new build-runtime.py script builds the native and sandboxed runtimes in build/runtime/ . The various Subzero driver scripts are updated to use that.
Fixes a stack frame bug in sandboxed mode when the integrated assembler is used. The stack adjustment for setting up a function call wasn't being rolled back for the second emitIAS() pass, so stack variables passed as arguments to the callee were being copied from the wrong stack slot.
Notes:
1. The hybrid Subzero/llc bisection debugging builds probably do not work as intended for -filetype=obj since the ELF emitter doesn't yet support -ffunction-sections. (This was also true for non-sandboxed hybrid builds.)
2. The cross tests have not yet been adapted for testing sandboxing. I'd prefer to first make progress on https://code.google.com/p/nativeclient/issues/detail?id=4085 in order to avoid blindly doubling the number of tests.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4079
R=jvoung@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=9738a9ea804be2aebc71bc0e5a58414e0774fe57
Patch Set 1 #Patch Set 2 : Cleanup #Patch Set 3 : Make PATH output less verbose #Patch Set 4 : Simplify some path stuff. Fix a bug invoking llc. #Patch Set 5 : Remove old assignment of llcbin and gold #
Total comments: 10
Patch Set 6 : Code review changes. Undo the lock-prefix sandboxing workaround. #
Total comments: 4
Patch Set 7 : More code review changes #
Messages
Total messages: 7 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||