mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 21:20:29 +00:00
Fix a big bad bug I checked in yesterday :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
17d145d26f
commit
869de25380
@ -306,7 +306,7 @@ bool BytecodeParser::ParseFunction(const uchar *&Buf, const uchar *EndBuf) {
|
||||
if (!hasInternalMarkerOnly) {
|
||||
unsigned LinkageType;
|
||||
if (read_vbr(Buf, EndBuf, LinkageType)) return true;
|
||||
if (LinkageType & 0x3) return true;
|
||||
if (LinkageType & ~0x3) return true;
|
||||
Linkage = (GlobalValue::LinkageTypes)LinkageType;
|
||||
} else {
|
||||
// We used to only support two linkage models: internal and external
|
||||
|
Loading…
Reference in New Issue
Block a user