• Russ Cox's avatar
    cmd/ld: report pclntab, funcdata sizes in 6l -v output · b99fa815
    Russ Cox authored
    Also move chatty recent additions to -v -v.
    
    For what it's worth:
    
    $ go build -o /dev/null -ldflags -v cmd/go
    ...
     0.87 pclntab=1110836 bytes, funcdata total 69700 bytes
    ...
    $
    
    This broke the ELF builds last time because I tried to dedup
    the funcdata in case the same funcdata was pointed at by
    multiple functions. That doesn't currently happen, so I've
    removed that test.
    
    If we start doing bitmap coalescing we'll need to figure out
    how to measure the size more carefully, but I think at that
    point the bitmaps will be an extra indirection away from the
    funcdata anyway, so the dedup I used before wouldn't help.
    
    R=ken2
    CC=golang-dev
    https://golang.org/cl/12269043
    b99fa815
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...