[PATCH] D79300: [ELF] Demote lazy symbols relative to a discarded section to Undefined
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 13 20:11:40 PDT 2020
ruiu added a comment.
There might be a better way of doing this. As far as I know, directly referring a non-group-leader symbol is not allowed, so the problem we have here is to find an object file that violates the spec. Do you think you can directly implement that logic? I mean, when a symbol is being resolved, we can check if a symbol is directly referring a group internal symbol, and if that's the case, we can emit an error as soon as such a bad symbol use is found.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79300/new/
https://reviews.llvm.org/D79300
More information about the llvm-commits
mailing list