LLD: workaround for buggy MACH-O code

Reported upstream:
http://lists.llvm.org/pipermail/llvm-dev/2017-August/116904.html
master
Andrew Kelley 2017-08-27 17:55:13 -04:00
parent 7b4977f5e2
commit 1a1414fc42
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ void ArchHandler_x86_64::applyFixupFinal(
// Fall into llvm_unreachable().
break;
}
llvm_unreachable("invalid x86_64 Reference Kind");
return;
}
void ArchHandler_x86_64::applyFixupRelocatable(const Reference &ref,