Closed Bug 1606745 Opened 5 years ago Closed 5 years ago

Prevent debug functions from being discarded during linking

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: sfink, Assigned: sfink)

Details

Attachments

(1 file)

When using gdb, rr, or Pernosco, I often want to set watchpoints on mark bits. But that's not easy, especially when using an opt build. I have some debug functions that make it easier, but the linker discards them since they're never called.

Refer to them, to prevent the linker from throwing them out.

Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d6643bfcb63 Prevent debug functions from being discarded during linking r=jonco
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: