[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:12:49 PDT 2018


ruiu added a comment.

But one thing we need to keep in mind (and that's what I'm currently working on) is, if we discard a decompressed section buffer, we can't have StringRefs pointing to that section. That naturally affects the design because we usually create a lot of StringRefs pointing to input sections to avoid the cost of copying. I don't have a good idea about how to write code that works well both for uncompressed and compressed sections yet.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D52126





More information about the llvm-commits mailing list