Commit 09b3041a authored by vegorov@chromium.org's avatar vegorov@chromium.org

GDBJIT: emit .eh_frame section on x64.

This enables proper stack unwinding on x64.

Currently this requires V8 to be compiled without snapshot and --gdbjit-full to be enabled.

Original patch by Sanjoy Das (http://codereview.chromium.org/6371011/)

Review URL: http://codereview.chromium.org/6250104

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6575 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 73a4ecfa
...@@ -32,6 +32,7 @@ Rafal Krypa <rafal@krypa.net> ...@@ -32,6 +32,7 @@ Rafal Krypa <rafal@krypa.net>
Rene Rebe <rene@exactcode.de> Rene Rebe <rene@exactcode.de>
Rodolph Perfetta <rodolph.perfetta@arm.com> Rodolph Perfetta <rodolph.perfetta@arm.com>
Ryan Dahl <coldredlemur@gmail.com> Ryan Dahl <coldredlemur@gmail.com>
Sanjoy Das <sanjoy@playingwithpointers.com>
Subrato K De <subratokde@codeaurora.org> Subrato K De <subratokde@codeaurora.org>
Vlad Burlik <vladbph@gmail.com> Vlad Burlik <vladbph@gmail.com>
Mike Gilbert <floppymaster@gmail.com> Mike Gilbert <floppymaster@gmail.com>
This diff is collapsed.
...@@ -55,7 +55,8 @@ namespace internal { ...@@ -55,7 +55,8 @@ namespace internal {
V(STUB) \ V(STUB) \
V(BUILTIN) \ V(BUILTIN) \
V(SCRIPT) \ V(SCRIPT) \
V(EVAL) V(EVAL) \
V(FUNCTION)
class GDBJITLineInfo : public Malloced { class GDBJITLineInfo : public Malloced {
public: public:
...@@ -109,6 +110,7 @@ class GDBJITInterface: public AllStatic { ...@@ -109,6 +110,7 @@ class GDBJITInterface: public AllStatic {
static void AddCode(const char* name, static void AddCode(const char* name,
Code* code, Code* code,
CodeTag tag,
Script* script = NULL); Script* script = NULL);
static void AddCode(Handle<String> name, static void AddCode(Handle<String> name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment