[clang] [llvm] [CHERI] Make a best effort attempt to emit precise ELF sizes for GlobalAlias. (PR #193032)

Owen Anderson via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 23 12:49:12 PDT 2026


resistor wrote:

> Alias sizes are computed at `ELFWriter::writeSymbol`. Why do we need so much plumbing? MCAsmStreamer.cpp currently doesn't need to know `MCSymbolELF`, and I am nervous adding such a dependency.

I'll take a look to see where it might be possible to do this at that stage.

https://github.com/llvm/llvm-project/pull/193032


More information about the cfe-commits mailing list