[PATCH] D135425: [InstrProf] Disable marking COMDAT profd variable as private linkage
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 00:33:27 PDT 2022
MaskRay added a comment.
I agree that the current setup is problematic for ThinLTO. I think we can retain the current size optimization of private profd (suppressing the symbol table entry). D135427 <https://reviews.llvm.org/D135427> tries to fix this on the FunctionImport side.
`clang -O2 -fuse-ld=lld -fprofile-generate=./t m1.o m2.o -flto=thin -o t_gen` will work.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135425/new/
https://reviews.llvm.org/D135425
More information about the llvm-commits
mailing list