mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[JITLink][MachO] Return an error when MachO TLV relocations are encountered.
MachO TLV relocations aren't supported yet. Error out rather than falling through to llvm_unreachable.
This commit is contained in:
parent
7aa42c2f0c
commit
03af0b44e9
@ -339,6 +339,9 @@ private:
|
||||
assert(TargetSymbol && "No target symbol from parsePairRelocation?");
|
||||
break;
|
||||
}
|
||||
case PCRel32TLV:
|
||||
return make_error<JITLinkError>(
|
||||
"MachO TLV relocations not yet supported");
|
||||
default:
|
||||
llvm_unreachable("Special relocation kind should not appear in "
|
||||
"mach-o file");
|
||||
|
Loading…
Reference in New Issue
Block a user