Hi Jochen,
Not currently, but you can lookup the target by name by hand (see
begin(), end()). Adding a lookupTargetByName would make sense.
- Daniel
On Wed, Feb 24, 2010 at 8:31 AM, Jochen Wilhelmy <j.wilhelmy at arcor.de>
wrote:> Hi!
>
> is there a way to get the c backend using
> llvm::TargetRegistry::lookupTarget()?
>
> e.g. llvm::TargetRegistry::lookupTarget("c", error)?
>
> - Jochen
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>