[LLVMdev] getting C backend

Daniel Dunbar daniel at zuster.org
Wed Feb 24 09:52:08 PST 2010


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
>




More information about the llvm-dev mailing list