[GHC] #5139: Output ELF .size directives
GHC
cvs-ghc at haskell.org
Wed Apr 20 11:02:11 CEST 2011
#5139: Output ELF .size directives
---------------------------------+------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: patch
Priority: normal | Component: Compiler
Version: 7.0.3 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by tibbe):
Before patch:
{{{
$ perf report
75.28% bench ./bench [.]
0x000000002b612b
7.11% bench /lib/libc-2.11.1.so [.] memcpy
5.47% bench ./bench [.]
0x0000000000438f
3.47% bench ./bench [.] allocate
1.86% bench ./bench [.] s1Ol_info
1.65% bench ./bench [.] s1Ok_info
0.62% bench ./bench [.] memcpy at plt
0.48% bench ./bench [.] clearNurseries
0.33% bench ./bench [.] evacuate1
0.24% bench ./bench [.] GarbageCollect
}}}
After patch:
{{{
$ perf report
61.25% bench ./bench [.] stg_newArrayzh
13.25% bench ./bench [.] stg_copyArrayzh
7.62% bench /lib/libc-2.11.1.so [.] memcpy
4.31% bench ./bench [.] s23r_info
3.36% bench ./bench [.] allocate
3.31% bench ./bench [.] s23q_info
0.89% bench ./bench [.] r20J_info
0.79% bench ./bench [.] memcpy at plt
0.74% bench ./bench [.] clearNurseries
0.32% bench ./bench [.]
scavenge_mutable_list
}}}
N.B. Long term we need to make sure that `CLabel`s get the right
`CLabelType`. Currently labels that point at code often have the
`DataLabel` type. This is probably due to `TABLES_NEXT_TO_CODE`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5139#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list