[PATCH] D37561: [ELF] - Don't crash when --emit-relocs is used with --gc-sections
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 11:29:09 PDT 2017
ruiu added a comment.
I don't think this patch addresses the root cause of the issue. All sections passed to `addInputSec` should be live. If it should be considered dead by gc, it should be marked as such before reaching here. This patch seems to hide the issue instead of fixing it.
https://reviews.llvm.org/D37561
More information about the llvm-commits
mailing list