Skip to content

Commit

Permalink
Explicitly handle LinkOnceODRAutoHideLinkage. NFC. We already have a …
Browse files Browse the repository at this point in the history
…test.

llvm-svn: 225449
  • Loading branch information
espindola committed Jan 8, 2015
1 parent 7b4b2dc commit bec6af6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Expand Up @@ -133,6 +133,8 @@ static GlobalValue::LinkageTypes getDecodedLinkage(unsigned Val) {
return GlobalValue::PrivateLinkage; // Obsolete LinkerPrivateLinkage
case 14:
return GlobalValue::PrivateLinkage; // Obsolete LinkerPrivateWeakLinkage
case 15:
return GlobalValue::ExternalLinkage; // Obsolete LinkOnceODRAutoHideLinkage
}
}

Expand Down

0 comments on commit bec6af6

Please sign in to comment.