[PATCH] D14044: Support for 32-bit mingw-w64 in compiler-rt
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 26 14:20:08 PDT 2015
rnk added a comment.
In http://reviews.llvm.org/D14044#275387, @vadimcn wrote:
> However, the description of builtins module on the compiler-rt page <http://compiler-rt.llvm.org/> says: "//builtins provides full support for the libgcc interfaces on supported targets//". If compiler-rt is a drop-in for for libgcc, it should provide all functions that libgcc does. If this is not the case, then linking a binary from a mix of LLVM and GCC objects would require linking both to libgcc and to compiler-rt, which, as I've mentioned above, creates a problem with duplicate symbols.
> To resolve this in a principled way, we'd probably need to rename all compiler-rt exports. LLVM would also need a new switch to allow targeting either runtime. A new set of triples for "-llvm" environment? This is a bigger can of worms than I'd like to open. :-)
Hm, that's pretty compelling. I can easily imagine someone having a few objects built with GCC and wanting to use compiler-rt.
Repository:
rL LLVM
http://reviews.llvm.org/D14044
More information about the llvm-commits
mailing list