RE: [LLVMdev] How to solve missing srand48/lrand48/drand48?

Please, take a look on the discussion from Reid and Chris: http://mail.cs.uiuc.edu/pipermail/llvmdev/2004-September/002243.html

From: Morten Ofstad <morten@hue.no>
Date: Tue, 19 Oct 2004 14:40:17 +0200

These calls are in ExternalCalls.cpp, they are platform dependent calls, so maybe llvm should consider including it's own implementation of a random number generator? For the time being I just replaced with calls to srand and rand like Paolo also did, but it needs to be fixed...

Henrik