
22 Jun
2010
22 Jun
'10
11:45 p.m.
Rami.Mukhtar:
Hi,
Can anyone tell me a way to identify the generated assembly (as found in the intermediate files produced by GHC) corresponding to a particular fragment of Core code.
Hey Rami, I use the ghc-core tool: http://hackage.haskell.org/package/ghc-core Which displays both the core and assembly in a pager, with syntax highlighting. In general, if you see "foo" in the Core, you're looking for "foo_entry" or similar in the assembly. -- Don