[PATCH] D13950: ELF2: Implement --gc-sections.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 15:34:08 PDT 2015


ruiu added a comment.

By the way, do you think there's a better way to visit all successors than the way I did in MarkLive? I think the code is not bad (forEachSuccessor and doForEachSuccessor are about 40 lines in total), but I feel that the code is a bit awkward. Is there any way to iterate over both REL and RELA relocations without using templates? Is there a better way to visit both non-local and local symbols?


http://reviews.llvm.org/D13950





More information about the llvm-commits mailing list