From llvm-dev Mon Oct 11 08:50:11 2010 From: Cyrille Berger Skott Date: Mon, 11 Oct 2010 08:50:11 +0000 To: llvm-dev Subject: Re: [LLVMdev] MAJOR API CHANGE: Pass initialization without static Message-Id: <201010111050.11294.cberger () cberger ! net> X-MARC-Message: https://marc.info/?l=llvm-dev&m=128678717912574 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0505060361==" --===============0505060361== Content-Type: multipart/alternative; boundary="Boundary-01=_D/ssMuK4to/INpK" Content-Transfer-Encoding: 7bit --Boundary-01=_D/ssMuK4to/INpK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Friday 08 October 2010, Owen Anderson wrote: > The trivial solution is to perform initialization at the beginning of > main(), and to call the batch initialization routines for every LLVM > library you link against. Can we have a code example of how to do that ? -- Cyrille Berger Skott --Boundary-01=_D/ssMuK4to/INpK Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

On Friday 0= 8 October 2010, Owen Anderson wrote:

> The tr= ivial solution is to perform initialization at the beginning of

> main()= , and to call the batch initialization routines for every LLVM

> librar= y you link against.=A0

Can we have= a code example of how to do that ?

--

Cyrille Ber= ger Skott

--Boundary-01=_D/ssMuK4to/INpK-- --===============0505060361== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LLVM Developers mailing list LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev --===============0505060361==--