[PATCH] D79300: [ELF] Demote lazy symbols relative to a discarded section to Undefined

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 23:25:41 PDT 2020


MaskRay added a comment.

In D79300#2033170 <https://reviews.llvm.org/D79300#2033170>, @ruiu wrote:

> I wonder in what condition this error occurs. In particular, can you trigger this with standard-compliant object files?


Compiled code may not cause such object files because their use of section groups has some patterns. It is not common to see more than one global symbol in a section group.

As @rprichard described in https://bugs.llvm.org//show_bug.cgi?id=45594 , this issue happened with some handwritten assembly files.


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