1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[IRObjectFile] Turn llvm_unreachable("foo") into something more explicative.

llvm-svn: 281742
This commit is contained in:
Davide Italiano 2016-09-16 16:07:19 +00:00
parent 6e57a52f32
commit e1f9511796

View File

@ -102,7 +102,7 @@ void IRObjectFile::CollectAsmUndefinedRefs(
uint32_t Res = BasicSymbolRef::SF_None;
switch (Value) {
case RecordStreamer::NeverSeen:
llvm_unreachable("foo");
llvm_unreachable("NeverSeen should have been replaced earlier");
case RecordStreamer::DefinedGlobal:
Res |= BasicSymbolRef::SF_Global;
break;