[llvm] r225449 - Explicitly handle LinkOnceODRAutoHideLinkage. NFC. We already have a test.
Rafael Espindola
rafael.espindola at gmail.com
Thu Jan 8 07:39:50 PST 2015
Author: rafael
Date: Thu Jan 8 09:39:50 2015
New Revision: 225449
URL: http://llvm.org/viewvc/llvm-project?rev=225449&view=rev
Log:
Explicitly handle LinkOnceODRAutoHideLinkage. NFC. We already have a test.
Modified:
llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp
Modified: llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp?rev=225449&r1=225448&r2=225449&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp (original)
+++ llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp Thu Jan 8 09:39:50 2015
@@ -133,6 +133,8 @@ static GlobalValue::LinkageTypes getDeco
return GlobalValue::PrivateLinkage; // Obsolete LinkerPrivateLinkage
case 14:
return GlobalValue::PrivateLinkage; // Obsolete LinkerPrivateWeakLinkage
+ case 15:
+ return GlobalValue::ExternalLinkage; // Obsolete LinkOnceODRAutoHideLinkage
}
}
More information about the llvm-commits
mailing list