summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2009-01-15 20:18:42 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2009-01-15 20:18:42 +0000
commit6de96a1b5d77b13719760d0143ef48e8670b6e20 (patch)
treeab6f61642a2e971790afdd47c806735afb828cdf /llvm/lib/Bitcode/Writer
parent7ffcf93b2450ca373cdf3147744a029e9b00e095 (diff)
downloadbcm5719-llvm-6de96a1b5d77b13719760d0143ef48e8670b6e20.tar.gz
bcm5719-llvm-6de96a1b5d77b13719760d0143ef48e8670b6e20.zip
Add the private linkage.
llvm-svn: 62279
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 81a1a379969..da400a73607 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -284,6 +284,7 @@ static unsigned getEncodedLinkage(const GlobalValue *GV) {
case GlobalValue::DLLExportLinkage: return 6;
case GlobalValue::ExternalWeakLinkage: return 7;
case GlobalValue::CommonLinkage: return 8;
+ case GlobalValue::PrivateLinkage: return 9;
}
}
OpenPOWER on IntegriCloud