RFC: Shark llvm2.6 api changes to Threads and JIT Initialization

Gary Benson gbenson at redhat.com
Thu Jun 18 02:26:17 PDT 2009


Xerxes Rånby wrote:
> Den 2009-06-17 16:35, Xerxes Rånby skrev:
> > fix 2: or persuade the llvm people to create a llvm::InitializeMyTarget()
> 
> The llvm developers quickly created what we wanted:
>
> include
> llvm/trunk/include/llvm/Target/TargetSelect.h
> and use
> // If we have a native target, initialize it to ensure it is linked in and
> // usable by the JIT.
> InitializeNativeTarget();

It was kind of odd that they didn't do that already :)

Cheers,
Gary

-- 
http://gbenson.net/



More information about the distro-pkg-dev mailing list