git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232923
91177308-0d34-0410-b5e6-
96231b3b80d8
static X86_32RelType getType32(X86_64RelType T) {
switch (T) {
static X86_32RelType getType32(X86_64RelType T) {
switch (T) {
- default:
- //case RT64_64:
llvm_unreachable("Unimplemented");
case RT64_32:
case RT64_32S:
llvm_unreachable("Unimplemented");
case RT64_32:
case RT64_32S:
case RT64_8:
return RT32_8;
}
case RT64_8:
return RT32_8;
}
+ llvm_unreachable("unexpected relocation type!");
}
static unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier,
}
static unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier,