[PATCH] D12091: [compiler-rt] Add libgcc compatibility aliases for __cmp{s, d, f}f2.

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 20:39:28 PDT 2015


compnerd added inline comments.

================
Comment at: lib/builtins/int_lib.h:23
@@ -22,1 +22,3 @@
 
+#define FNALIAS(alias_name, original_name) \
+  void alias_name() __attribute__((alias(#original_name)))
----------------
jmgao wrote:
> jmgao wrote:
> > asl wrote:
> > > What's in darwin case? Shall we define these aliases there as well?
> > This will be defined for everything that includes int_lib.h
> Sorry, misread your comment. I'm not sure what should happen in darwin.
Darwin did at one point use libgcc, so I don't think that this would be problematic.  Do you have some reason to believe it would be?  We could easily conditionalise the aliases if that is the case.


Repository:
  rL LLVM

http://reviews.llvm.org/D12091





More information about the llvm-commits mailing list