[PATCH] D52126: Discard uncompressed buffer after creating .gdb_index contents.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 16:21:18 PDT 2018


ruiu added a comment.

This might be a silly question, but why do we compress only debug sections? If we really want to compress object files for valid reasons (e.g. reducing amount of network traffic when doing a distributed build) we can simply compress an entire object file instead of compressing only the debug section. Then we can stream-uncompress object files to a disk and then run the linker on the input files.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D52126





More information about the llvm-commits mailing list