Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#1014 closed merge (fixed)

Mangled module name in __stginit_Module symbol

Reported by: guest Owned by: igloo
Priority: normal Milestone: 6.6.1
Component: Documentation Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

Just discovered that Module names are mangled in the _ _stginit_* symbols. Don't know if it should be considered a bug or a feature, but at least I think it should be mentioned at

http://www.haskell.org/ghc/docs/latest/html/users_guide/sec-ffi-ghc.html

It would be a good idea to document as well how the symbol would be transformed.

Change History (5)

comment:1 Changed 11 years ago by igloo

Milestone: 6.6.1

comment:2 Changed 11 years ago by simonmar

Component: Compiler (FFI)Documentation
Owner: set to igloo
Type: bugmerge

Fixed, to merge:

Tue Feb 20 13:25:32 GMT 2007  Simon Marlow <simonmar@microsoft.com>
  * describe the Z-encoding for __stginit symbol names (addresses #1014)

comment:3 Changed 11 years ago by igloo

Resolution: fixed
Status: newclosed

Merged.

comment:4 Changed 9 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:5 Changed 9 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.