aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_trim.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2009-12-02 19:55:02 +0100
committerBjörn Gustavsson <[email protected]>2009-12-09 19:45:20 +0100
commit12ce303085dc29d4401b167e6d57d5144c934f8f (patch)
tree369a798072eefbca08b083fd911b6fc0fff17496 /lib/compiler/src/beam_trim.erl
parent856e8f2ebddd70f6556fbaf87e0b624d6e3c5cb6 (diff)
downloadotp-12ce303085dc29d4401b167e6d57d5144c934f8f.tar.gz
otp-12ce303085dc29d4401b167e6d57d5144c934f8f.tar.bz2
otp-12ce303085dc29d4401b167e6d57d5144c934f8f.zip
compiler: Teach 'slim' to omit compilation info
The original intention for the undocumented 'slim' option was to omit non-essential parts of *.beam files to reduce the size of the primary bootstrap. Therefore, debug information and local function information (only used by xref, not by the loader) are omitted, but information about the compilation time and compiler version are still included. Including compilation information is troublesome, however, when committing the bootstrap into a revision control system, because every beam file is guaranteed to be changed every time the bootstrap is updated. Therefore, change the 'slim' option to also omit compilation information.
Diffstat (limited to 'lib/compiler/src/beam_trim.erl')
0 files changed, 0 insertions, 0 deletions