From 49b112e117143d6443e85a1a08b9a12caeaa8e67 Mon Sep 17 00:00:00 2001 From: bmeurer Date: Wed, 25 Feb 2015 04:02:50 -0800 Subject: [PATCH] Revert of Rebase GDBJIT interface solely on JITCodeEvent (patchset #2 id:20001 of https://codereview.chromium.org/957673004/) Reason for revert: Doesn't compile Original issue's description: > Rebase GDBJIT interface solely on JITCodeEvent > > R=mstarzinger@chromium.org > BUG= > > Committed: https://chromium.googlesource.com/v8/v8/+/8989d828e86bc7edae5e25687bcb60c0e301dffb TBR=mstarzinger@chromium.org,wingo@igalia.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/954833004 Cr-Commit-Position: refs/heads/master@{#26848} --- src/compiler.cc | 5 + src/flag-definitions.h | 29 +--- src/gdb-jit.cc | 352 +++++++++++++++++++++------------------ src/gdb-jit.h | 61 ++++--- src/heap/mark-compact.cc | 15 ++ 5 files changed, 260 insertions(+), 202 deletions(-) diff --git a/src/compiler.cc b/src/compiler.cc index 4dbe5983e1..f3f8dbd086 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -719,6 +719,10 @@ static void RecordFunctionCompilation(Logger::LogEventsAndTags tag, CodeCreateEvent(log_tag, *code, *shared, info, script_name, line_num, column_num)); } + + GDBJIT(AddCode(Handle(shared->DebugName()), + Handle