[cfe-dev] Using compiler-rt
Saleem Abdulrasool
compnerd at compnerd.org
Thu Jan 8 20:33:57 PST 2015
On Thu, Jan 8, 2015 at 4:55 PM, Daniel Dilts <diltsman at gmail.com> wrote:
> My understanding is that compiler-rt is a library consisting of low level
> functions that the compiler may generate calls to. Could someone give me
> an example of C or C++ code that would generate a binary that requires
> compiler-rt?
>
i686-linux-gnu:
int f(long long ll, long long lj) { return ll / lj; }
That was one of the easiest that I could think of off the top of my head.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150108/59b4934f/attachment.html>
More information about the cfe-dev
mailing list