[llvm] [CodeGen] Don't codegen the weak function when there is a defined non-weak symbol (PR #76040)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 13:06:14 PST 2023


https://github.com/MaskRay requested changes to this pull request.

(I'll be out for 2 weeks and my response time will be very slow.)

Can you describe your case using concrete commands?
We already have `.lto_discard` to handle non-prevailing symbols.

I am also concerned of adding `IsWeak` to MCSymbol, which makes the representation less orthogonal.


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


More information about the llvm-commits mailing list