[Webkit-unassigned] [Bug 97502] New: JSC: add a debugging utility for the C++ llint backend.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 24 17:15:28 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97502
Summary: JSC: add a debugging utility for the C++ llint
backend.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mark.lam at apple.com
Added the "cloopDo" instruction that can be used to insert instrumentation in the llint generated code. For example, when debugging, we can add the following into a llint ASM file:
cloopDo // printf("I was here!!!\n");
The llint C++ backend will insert whatever is in the // comment as a C++ statement into the generated LLIntAssembly.h file at the location where we insert this cloopDo instruction into the llint ASM instruction stream.
cloopDo instructions should only be used for debugging the C++ llint. They should not be left in the llint ASM file when we're done debugging. Support for the cloopDo instruction is left enabled by default for convenience. It does not affect the produced code if not used.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list