[PATCH] D19308: ThinLTO: Resolve linkonce_odr aliases just like functions
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 17:34:21 PDT 2016
tejohnson added inline comments.
================
Comment at: test/ThinLTO/X86/alias_resolution.ll:39
@@ +38,3 @@
+; PROMOTE-DAG: @linkonceODRfuncWeakAlias = weak alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*)
+; PROMOTE-DAG: @linkonceODRfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*)
+; PROMOTE-DAG: @linkonceODRfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*)
----------------
joker.eph wrote:
> There is a bug I think, this one should be promoted right?
You mean resolved? The alias itself isn't ODR so I think it stays Linkonce(Any).
http://reviews.llvm.org/D19308
More information about the llvm-commits
mailing list