Skip to content

Mangled module name in __stginit_Module symbol

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.

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (FFI)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information