mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-09 05:47:13 +00:00
Fix a big bad bug I checked in yesterday :(
llvm-svn: 5807
This commit is contained in:
parent
f171f30deb
commit
8453f87c9c
@ -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…
x
Reference in New Issue
Block a user