[PATCH] D30048: Don't print DISCARD sections as gced
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 21 10:19:17 PST 2017
ruiu added inline comments.
================
Comment at: ELF/LinkerScript.cpp:279-280
S->Live = false;
- reportDiscarded(S);
+ if (S == In<ELFT>::ShStrTab)
+ error("discarding .shstrtab section is not allowed");
----------------
Can this happen? It seems more like an ASSERT rather than an error().
https://reviews.llvm.org/D30048
More information about the llvm-commits
mailing list