Ticket #3672 (closed feature request: fixed)

Opened 4 years ago

Last modified 3 years ago

Let Linker.c know about stg_arg_bitmaps

Reported by: int-e Owned by: simonmar
Priority: high Milestone: 7.0.1
Component: Runtime System Version: 6.13
Keywords: Cc: morrow@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

stg_args_bitmaps is useful to make sense of AP and PAP closures on the heap, i.e. for heap inspecting code. So it would be nice if code other than the RTS that uses it worked in ghci.

Attachments

3672.dpatch Download (2.0 KB) - added by int-e 4 years ago.
proposed patch (trivial)

Change History

Changed 4 years ago by int-e

proposed patch (trivial)

Changed 4 years ago by igloo

  • priority changed from normal to high
  • milestone set to 6.14.1

Thanks for the report; we'll take a look at the patch.

Changed 3 years ago by morrow

  • cc morrow@… added

Changed 3 years ago by igloo

  • status changed from new to patch

Changed 3 years ago by igloo

  • owner set to igloo

Changed 3 years ago by igloo

  • status changed from patch to infoneeded

I think that if we want this to be exported then we shouldn't be declaring it RTS_PRIVATE. Can someone attach a testcase for testing, please?

Changed 3 years ago by igloo

  • owner igloo deleted

Changed 3 years ago by simonpj

  • status changed from infoneeded to new

We've decided to just do this, changing the decl to public as Ian suggests.

Changed 3 years ago by simonpj

  • owner set to simonmar

Changed 3 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

Fixed:

Mon Sep 13 11:52:35 BST 2010  Simon Marlow <marlowsd@gmail.com>
  * make stg_arg_bitmaps public, and available via the GHCi linker (#3672)
Note: See TracTickets for help on using tickets.