OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cbcee7
)
[IRObjectFile] Try to be defensive, add a break.
author
Davide Italiano
<davide@freebsd.org>
Thu, 23 Jun 2016 00:07:31 +0000
(
00:07
+0000)
committer
Davide Italiano
<davide@freebsd.org>
Thu, 23 Jun 2016 00:07:31 +0000
(
00:07
+0000)
Suggested by Sean Silva.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273519
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Object/IRObjectFile.cpp
patch
|
blob
|
history
diff --git
a/lib/Object/IRObjectFile.cpp
b/lib/Object/IRObjectFile.cpp
index
fdc53e0
..
f4f332a
100644
(file)
--- 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));
}