getting C backend

Hi!

is there a way to get the c backend using
llvm::TargetRegistry::lookupTarget()?

e.g. llvm::TargetRegistry::lookupTarget("c", error)?

- Jochen

Hi Jochen,

Not currently, but you can lookup the target by name by hand (see
begin(), end()). Adding a lookupTargetByName would make sense.

- Daniel