Closed Bug 770663 Opened 12 years ago Closed 12 years ago

Add a JS shell function to turn on a static profiling stack

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: u443197, Assigned: u443197)

References

Details

Attachments

(1 file)

With the profiling from bug 761261, there should be validation that the instrumentation remains consistent. To do this, a function should be added to the shell to turn on a static profiling stack to be called from fuzzers. This function would turn on profiling for the runtime, which in debug builds would assert that function entry/exit are tracked accordingly.
Attached patch patchSplinter Review
Attachment #639398 - Flags: review?(luke)
Attachment #639398 - Flags: review?(luke) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
This should probably be in js/src/builtin/TestingFunctions.cpp rather than js/src/shell/js.cpp so it can be tested in the browser as well.
Blocks: 774343
Depends on: 830544
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: