commit | 2e3463ec43ab3ffc1c4e07f870f5c9a14279aa17 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Fri Apr 18 21:52:26 2014 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Fri Apr 18 21:52:26 2014 +0000 |
tree | 8ca45e8c1fb5bf5d9b2510ca2d07f37ce4aa9495 | |
parent | e153fb33e49bd6d44189d3659287338c410bc0ce [diff] |
Compress debug sections only when beneficial. Both ZLIB and the debug info compressed section header ("ZLIB" + the size of the uncompressed data) take some constant overhead so in some cases the compressed data is actually larger than the uncompressed data. In these cases, just don't compress or rename the section at all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206659 91177308-0d34-0410-b5e6-96231b3b80d8