[PATCH] D19096: ModuleLinker: do not always pull-in linkonce_odr when performing ThinLTO importing

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 00:46:38 PDT 2016


joker.eph added inline comments.

================
Comment at: test/Transforms/FunctionImport/funcimport.ll:84-85
@@ +83,4 @@
+; also check that the linkonceodr function is not.
+; CHECK-DAG: define available_externally void @referencelargelinkonce()
+; INSTLIM5-DAG: declare extern_weak void @linkonceodr()
+declare void @referencelargelinkonce(...)
----------------
I'm not happy about the extern_weak, but apparently the IRMover does not have any option to control that, which is annoying.
Rafael, any input on that?


http://reviews.llvm.org/D19096





More information about the llvm-commits mailing list