Opened 7 years ago

Closed 7 years ago

Last modified 6 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: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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 7 years ago by igloo

  • Milestone set to 6.6.1

comment:2 Changed 7 years ago by simonmar

  • Component changed from Compiler (FFI) to Documentation
  • Owner set to igloo
  • Type changed from bug to merge

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 7 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

Merged.

comment:4 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:5 Changed 6 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.