johan.tibell at gmail.com
Fri Feb 15 19:48:26 CET 2013
On Fri, Feb 15, 2013 at 10:24 AM, Nicolas Frisby
<nicolas.frisby at gmail.com>wrote:
> I'm not passing any flags related to code generation, I don't think.
> $HC -H64m -O -Rghc-timing -package array -H32m -hisuf hi -O1 -rtsopts -c
> Main.hs -o Main.o
> So that'd just be the native code generator, right?.
> $ uname -a
> Linux cam-05-unx 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC
> 2012 x86_64 x86_64 x86_64 GNU/Linux
> Is there a objdump-ish way to directly look for these .size directives?
> Thanks Johan.
If you tell GHC to keep all temporary file you could look in the .S files
for the .size directive. It could be that I missed some place where we
ought to put a .size directive. Are you doing dynamic linking?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs