<div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>I compiled the .ll file to .o using clang. However, when I execute the .o file all generated numbers are zeros. </div><div><br></div><div>How should I link the .ll file with the standard library for the clang to generate the random numbers?</div><div><br></div><div><br></div><div>Thanks</div><div>-Shilpa</div></div>