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

[IRObjectFile] Try to be defensive, add a break.

Suggested by Sean Silva.

llvm-svn: 273519
This commit is contained in:
Davide Italiano 2016-06-23 00:07:31 +00:00
parent 509ed7ea1b
commit 8753e3d95a

View File

@ -119,6 +119,7 @@ void IRObjectFile::CollectAsmUndefinedRefs(
case RecordStreamer::GlobalWeak: case RecordStreamer::GlobalWeak:
Res |= BasicSymbolRef::SF_Weak; Res |= BasicSymbolRef::SF_Weak;
Res |= BasicSymbolRef::SF_Global; Res |= BasicSymbolRef::SF_Global;
break;
} }
AsmUndefinedRefs(Key, BasicSymbolRef::Flags(Res)); AsmUndefinedRefs(Key, BasicSymbolRef::Flags(Res));
} }