[GHC] #1085: Redesign of the scheme for getting the datacon symbol
name of a closure in the RTS
GHC
trac at galois.com
Thu Jan 4 05:25:31 EST 2007
#1085: Redesign of the scheme for getting the datacon symbol name of a closure in
the RTS
---------------------------------+------------------------------------------
Reporter: mnislaih | Owner:
Type: task | Status: new
Priority: normal | Milestone: 6.8
Component: Runtime System | Version: 6.6
Severity: normal | Keywords:
Difficulty: Moderate (1 day) | Testcase:
Architecture: Unknown | Os: Unknown
---------------------------------+------------------------------------------
Currently, from the closure we get its info table address, and since those
are static for Constr closures, we use a hashtable (defined in Linker.c)
to relate symbol names obtained when linking and the addresses.
The proposal is to extend the info table with a field for the symbol name,
making this process much more straightforward.
The trade-off is that this will augment the size of binaries a bit, so we
could make this 'labelling' of info tables optional via a flag.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1085>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list