| 57 | } |
| 58 | |
| 59 | std::unique_ptr<Decoder> Arch::createDecoder(Config& config) |
| 60 | { |
| 61 | if (!config.hasDecoder()) |
| 62 | error("no decoder configured"); |
| 63 | return createDecoder(config->decoder()); |
| 64 | } |
| 65 | |
| 66 | std::unique_ptr<Decoder> Arch::createDecoder(const DecoderProto& config) |
| 67 | { |
nothing calls this directly
no test coverage detected