Displaying 1 result from an estimated 1 matches for "e837efc6".
2016 Nov 18
3
Linking LLVM IR with standard library
Hi,
I have a LLVM IR file generated for a different source language (Not C). I
have added a rand() function in it to generate random numbers.
I compiled the .ll file to .o using clang. However, when I execute the .o
file all generated numbers are zeros.
How should I link the .ll file with the standard library for the clang to
generate the random numbers?
Thanks
-Shilpa
-------------- next