[PATCH] D96698: RFC: [LLD] [COFF] Include VirtualSize when sizing sections

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 16:03:57 PST 2021


rnk added a comment.

In D96698#2583410 <https://reviews.llvm.org/D96698#2583410>, @rnk wrote:

> Is it possible to create objects with bss sections like this when enabling -fcommon? I vaguely recall running into a few cases where common linkage mattered in chrome.

I played around a bit, but I wasn't able to get LLVM to make anything like the object described. I think I would prefer not to put this conditional in the hot path if we agree that tools shouldn't produce objects like this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96698



More information about the llvm-commits mailing list