[llvm] [WIP][CFI][LTO] Avoid duplicate symbols on aliased weak function (PR #150072)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 10:39:13 PDT 2025


================
@@ -1135,7 +1135,6 @@ void LowerTypeTestsModule::importFunction(
   } else {
----------------
vitalybuka wrote:

@pcc I believe even if this works it's wrong fix.

We probably should rather check if LTO have selected this definition as prevailing before renaming it into .cfi (or make it internal linkage it it's not)

WDYT?

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


More information about the llvm-commits mailing list