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

Xerxes Rånby xerxes at zafena.se
Wed Jun 17 10:25:54 PDT 2009


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();

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090615/078885.html

the llvm examples have been changed to use the jit in this way:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090615/078888.html

Cheers
Xerxes



More information about the distro-pkg-dev mailing list