diff --git a/lib/Object/IRObjectFile.cpp b/lib/Object/IRObjectFile.cpp index fdc53e01e36..f4f332ab563 100644 --- a/lib/Object/IRObjectFile.cpp +++ b/lib/Object/IRObjectFile.cpp @@ -119,6 +119,7 @@ void IRObjectFile::CollectAsmUndefinedRefs( case RecordStreamer::GlobalWeak: Res |= BasicSymbolRef::SF_Weak; Res |= BasicSymbolRef::SF_Global; + break; } AsmUndefinedRefs(Key, BasicSymbolRef::Flags(Res)); }