aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-04-18 21:52:26 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-04-18 21:52:26 +0000
commit76d3a3cd35affa7d6e788a6a4371d8f2247987e3 (patch)
tree1ebc08986a87b37531b31765b84eab2f89e012db /clang/lib/Basic/Module.cpp
parent837a6f6f79fc44bf6467ac874f4e3c411a62bedf (diff)
downloadllvm-76d3a3cd35affa7d6e788a6a4371d8f2247987e3.zip
llvm-76d3a3cd35affa7d6e788a6a4371d8f2247987e3.tar.gz
llvm-76d3a3cd35affa7d6e788a6a4371d8f2247987e3.tar.bz2
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. llvm-svn: 206659
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions