[PATCH] D68101: [MC][ELF] Prevent globals with an explicit section from being mergeable

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 3 11:10:42 PST 2019


rjmccall added a comment.

We're not talking about putting objects in a different section *in the image*.  But ELF allows object files to contain an arbitrary number of what I've been calling "section units" that will be assembled into a single section in the image.  In theory, we could even emit every object into a unique section unit (and in fact, we have to do that when the object is part of a COMDAT or has an associated symbol); it's just that doing so bloats the object file a bit (costing us compile time).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68101/new/

https://reviews.llvm.org/D68101





More information about the cfe-commits mailing list