OSDN Git Service

Add implicit null and stack checks for x86
authorDave Allison <dallison@google.com>
Thu, 29 May 2014 15:20:04 +0000 (08:20 -0700)
committerDave Allison <dallison@google.com>
Wed, 9 Jul 2014 23:19:59 +0000 (16:19 -0700)
commit34e826ccc80dc1cf7c4c045de6b7f8360d504ccf
tree76901cff2cddd6d30cb7a4e83ad4e0c9bb673fe1
parentc21dc06adc8c8447561208a3fb72ccf6d0443613
Add implicit null and stack checks for x86

This adds compiler and runtime changes for x86
implicit checks.  32 bit only.

Both host and target are supported.
By default, on the host, the implicit checks are null pointer and
stack overflow.  Suspend is implemented but not switched on.

Change-Id: I88a609e98d6bf32f283eaa4e6ec8bbf8dc1df78a
32 files changed:
build/Android.gtest.mk
build/Android.oat.mk
compiler/dex/quick/arm64/codegen_arm64.h
compiler/dex/quick/arm64/int_arm64.cc
compiler/dex/quick/codegen_util.cc
compiler/dex/quick/gen_common.cc
compiler/dex/quick/gen_invoke.cc
compiler/dex/quick/mir_to_lir.h
compiler/dex/quick/x86/assemble_x86.cc
compiler/dex/quick/x86/call_x86.cc
compiler/dex/quick/x86/codegen_x86.h
compiler/dex/quick/x86/int_x86.cc
compiler/dex/quick/x86/target_x86.cc
compiler/dex/quick/x86/utility_x86.cc
compiler/dex/quick/x86/x86_lir.h
dex2oat/dex2oat.cc
runtime/Android.mk
runtime/arch/arm/fault_handler_arm.cc
runtime/arch/arm64/fault_handler_arm64.cc
runtime/arch/mips/fault_handler_mips.cc
runtime/arch/x86/fault_handler_x86.cc
runtime/arch/x86/quick_entrypoints_x86.S
runtime/arch/x86_64/fault_handler_x86_64.cc
runtime/fault_handler.cc
runtime/fault_handler.h
runtime/parsed_options.cc
runtime/runtime.cc
runtime/thread.cc
runtime/thread_linux.cc
sigchainlib/Android.mk
sigchainlib/sigchain.cc
test/Android.oat.mk