diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-07-20 01:03:30 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-07-20 01:03:30 +0000 |
| commit | 41a0785fdd228e1563e606f650cef9b3617ab29e (patch) | |
| tree | d2af2edf3eb2da3f5490936f7843f1594e3e95e6 /lib/Target/CppBackend | |
| parent | 3f17ea91e33b4f2566e58307930fd34c4f55c8b4 (diff) | |
| download | external_llvm-41a0785fdd228e1563e606f650cef9b3617ab29e.zip external_llvm-41a0785fdd228e1563e606f650cef9b3617ab29e.tar.gz external_llvm-41a0785fdd228e1563e606f650cef9b3617ab29e.tar.bz2 | |
Add plumbing for the `linker_private' linkage type. This type is meant for
"private" symbols which the assember shouldn't strip, but which the linker may
remove after evaluation. This is mostly useful for Objective-C metadata.
This is plumbing, so we don't have a use of it yet. More to come, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CppBackend')
| -rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index d232a55..71af8a9 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -288,6 +288,8 @@ namespace { Out << "GlobalValue::InternalLinkage"; break; case GlobalValue::PrivateLinkage: Out << "GlobalValue::PrivateLinkage"; break; + case GlobalValue::LinkerPrivateLinkage: + Out << "GlobalValue::LinkerPrivateLinkage"; break; case GlobalValue::AvailableExternallyLinkage: Out << "GlobalValue::AvailableExternallyLinkage "; break; case GlobalValue::LinkOnceAnyLinkage: |
