lookupTarget - Lookup a target based on a target triple.
Declared in <llvm/MC/TargetRegistry.h>
static
Target const*
lookupTarget(
Triple const& TheTriple,
std::string& Error);
The matching Target, or nullptr if none was found.
| Name | Description |
|---|---|
| TheTriple | - The triple to use for finding a target. |
| Error | - On failure, an error string describing why no target was found. |