Add a getter for the address and size of the code range to the pulic API
authorjochen@chromium.org <jochen@chromium.org>
Mon, 29 Sep 2014 12:17:31 +0000 (12:17 +0000)
committerjochen@chromium.org <jochen@chromium.org>
Mon, 29 Sep 2014 12:17:31 +0000 (12:17 +0000)
commit9b32bb22c1e516a4931ac647656bdf07bd7332be
tree8174df66413a3cb452ca6df89dcaba6b9a671428
parentb2aaac94044c3ef8604e696c402ce0a025e1c2fd
Add a getter for the address and size of the code range to the pulic API

Since the x64 backend currently doesn't emit ABI compliant code, it is
not possible to unwind the stack. During Win64 SEH this will cause the
exception handling to abort, and not even call the unhandled exception
handler. Embedders are advised to install a custom unwind callback using
RtlInstallFunctionTableCallback for the entire code range to catch
unwind attempts for exception handling.

BUG=v8:3598
R=svenpanne@chromium.org
LOG=y

Review URL: https://codereview.chromium.org/612043002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24283 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/api.cc
src/heap/spaces.h