[PATCH] D25033: [ELF] GC: Mark all pieces of non-allocatable mergeable section live.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 28 12:41:27 PDT 2016
ruiu accepted this revision.
ruiu added a comment.
LGTM
================
Comment at: ELF/InputSection.cpp:576
@@ +575,3 @@
+ if (Config->GcSections) {
+ if (this->getSectionHdr()->sh_flags & SHF_ALLOC) {
+ for (uintX_t Off : LiveOffsets)
----------------
Add a note as a comment that we do not garbage-collect non-allocatable sections that typically contains debug info.
Repository:
rL LLVM
https://reviews.llvm.org/D25033
More information about the llvm-commits
mailing list