mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[IRObjectFile] Try to be defensive, add a break.
Suggested by Sean Silva. llvm-svn: 273519
This commit is contained in:
parent
509ed7ea1b
commit
8753e3d95a
@ -119,6 +119,7 @@ void IRObjectFile::CollectAsmUndefinedRefs(
|
||||
case RecordStreamer::GlobalWeak:
|
||||
Res |= BasicSymbolRef::SF_Weak;
|
||||
Res |= BasicSymbolRef::SF_Global;
|
||||
break;
|
||||
}
|
||||
AsmUndefinedRefs(Key, BasicSymbolRef::Flags(Res));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user