[compiler-rt] [llvm] [ThinLTO][TypeProf] Allow importing of local-linkage global variables in mod1:func_foo-> mod2:local-var chain under an option (PR #100448)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 14:24:13 PDT 2024


minglotus-6 wrote:

> Note the local-linkage indirect callee get imported without turning on the option in this patch. Teresa pointed me to
> 
> https://github.com/llvm/llvm-project/blob/b1f263e4c2466a693609a3930f53b9887be67b5b/llvm/lib/Transforms/IPO/FunctionImport.cpp#L242
> 
> I'll update the PR to make the indirect references (vtables or functions) handling consistent.

This is implemented. PTAL, thanks!

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


More information about the llvm-commits mailing list