[PATCH] D28791: [compiler-rt][crt] Simple crtbegin and crtend implementation
Loïc Yhuel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 16:51:05 PST 2017
loic.yhuel added a comment.
In https://reviews.llvm.org/D28791#668496, @phosek wrote:
> We discussed this with @mcgrathr and came up with a possible alternative solution: Currently the only bit of crtbegin.o we're missing is the __dso_handle symbol because Clang generates a reference to it when compiling C++ code.
So only Fuchsia would be supported, Linux would still need external ctrbegin.o/crtend.o (from gcc by default, but for projects like https://blogs.gentoo.org/gsoc2016-native-clang/ there still won't be any good solution).
Btw, do you have a crtfastmath.o on Fuchsia ? It's optionnal for clang, but if it is missing performance could be slower than Linux for programs using -ffast-math.
Repository:
rL LLVM
https://reviews.llvm.org/D28791
More information about the llvm-commits
mailing list