aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-09-14 22:57:39 +0000
committerRui Ueyama <ruiu@google.com>2018-09-14 22:57:39 +0000
commit751dfbe39b8a0206883bce7259ba4f3464fc420d (patch)
treef2f697b74afbc7a9a71de794c214a96bcbed82e4 /clang/lib/Lex/ModuleMap.cpp
parent88b7443f9455c45a7df5ca1590d2a051ab6f12e9 (diff)
downloadllvm-751dfbe39b8a0206883bce7259ba4f3464fc420d.zip
llvm-751dfbe39b8a0206883bce7259ba4f3464fc420d.tar.gz
llvm-751dfbe39b8a0206883bce7259ba4f3464fc420d.tar.bz2
Discard uncompressed buffer after creating .gdb_index contents.
Once we create .gdb_index contents, .zdebug_gnu_pub{names,types} are useless, so there's no need to keep their uncompressed data in memory. I observed that for a test case in which lld creates a 3GB .gdb_index section, the maximum resident set size reduced from 43GB to 29GB after this patch. Differential Revision: https://reviews.llvm.org/D52126 llvm-svn: 342297
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions