[PATCH] D116474: [lld] [coff] Fix the characteristics of some sections like ".voltbl".

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 14:49:12 PST 2022


rnk added a comment.

I think the linker is supposed to treat these as metadata sections, similar to `.gfids`, which do not appear in the output. See this old issue:
https://bugs.llvm.org/show_bug.cgi?id=45111

The MSVC CRT includes objects with some of these sections, and the MSVC linker does not include these sections in the output, or if it does, it has builtin rules to merge them into existing sections like .rdata.

I think a better fix would be to discard both of these sections (`.00cfg` and `.voltbl`) until we understand what they are for.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116474



More information about the llvm-commits mailing list