Revert "[Orc] Allow OrcGenericABI variant of LazyCallThroughManager"

This reverts commit 61974268269f96b672a50eac40a5a8eeb4acd6d3.
This commit is contained in:
Stefan Gränitz 2021-03-23 15:23:22 +01:00
parent feff66a082
commit 0ef51db5a4
1 changed files with 3 additions and 2 deletions

View File

@ -107,8 +107,9 @@ createLocalLazyCallThroughManager(const Triple &T, ExecutionSession &ES,
JITTargetAddress ErrorHandlerAddr) {
switch (T.getArch()) {
default:
return LocalLazyCallThroughManager::Create<OrcGenericABI>(ES,
ErrorHandlerAddr);
return make_error<StringError>(
std::string("No callback manager available for ") + T.str(),
inconvertibleErrorCode());
case Triple::aarch64:
case Triple::aarch64_32: