[PATCH] D52917: Avoid unnecessary buffer allocation and memcpy for compressed sections.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 5 10:38:40 PDT 2018


ruiu updated this revision to Diff 168488.
ruiu added a comment.

- make member variables `mutable` instead of using const_cast to call `uncompress()`


https://reviews.llvm.org/D52917

Files:
  lld/ELF/AArch64ErrataFix.cpp
  lld/ELF/DWARF.cpp
  lld/ELF/Driver.cpp
  lld/ELF/EhFrame.cpp
  lld/ELF/ICF.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputSection.cpp
  lld/ELF/InputSection.h
  lld/ELF/MarkLive.cpp
  lld/ELF/Relocations.cpp
  lld/ELF/SyntheticSections.cpp
  lld/ELF/SyntheticSections.h
  lld/test/ELF/compressed-debug-input-err.s
  lld/test/ELF/relocatable-compressed-input.s
  lld/test/ELF/strip-debug.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52917.168488.patch
Type: text/x-patch
Size: 22884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181005/0ddd9892/attachment.bin>


More information about the llvm-commits mailing list