Closed Bug 1794063 Opened 3 years ago Closed 2 years ago

Allow dump()ing to printf_stderr sinks

Categories

(Core :: JavaScript Engine, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: sfink, Assigned: sfink)

References

Details

Attachments

(1 file)

To get log output on eg Android, we have to use printf_stderr. Within js/, sometimes we want to be able to dump() various things. It would be good to be able to dump() to the printf_stderr destinations.

Assignee: nobody → sphink
Status: NEW → ASSIGNED
Blocks: sm-meta
Severity: -- → N/A
Priority: -- → P1

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:sfink, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(sphink)
Flags: needinfo?(jcoppeard)

This bug depends on another bug, which should not be marked closed. (Or I should move stuff to a different bug that is still open.)

Flags: needinfo?(sphink)
Flags: needinfo?(jcoppeard)
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c729aa80e73e Create an SEprinter for printing via printf_stderr r=jonco

Backed out for causing Linux spidermonkey builds bustages in Printer.h.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/workspace/obj-spider/dist/include/js/Printer.h:343:8: error: virtual function 'put' has a different return type ('bool') than the function it overrides (which has return type 'void')

L.E. There are also these sm bustages on Windows.

And also build bustages on other platforms.

Flags: needinfo?(sphink)
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/231fbd4b933a Create an SEprinter for printing via printf_stderr r=jonco
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Flags: needinfo?(sphink)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: