summaryrefslogtreecommitdiff
path: root/test/Feature/linker_private_linkages.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-08-20 22:05:50 +0000
committerBill Wendling <isanbard@gmail.com>2010-08-20 22:05:50 +0000
commit55ae515f9db484125a23429d4906c5edaf9f10d2 (patch)
treee14046431613e74d8ed507098486df1ed09dfa40 /test/Feature/linker_private_linkages.ll
parent489b29b0a4ee4526e3d50ad88d3d48745baf5042 (diff)
downloadllvm-55ae515f9db484125a23429d4906c5edaf9f10d2.tar.gz
llvm-55ae515f9db484125a23429d4906c5edaf9f10d2.tar.bz2
llvm-55ae515f9db484125a23429d4906c5edaf9f10d2.tar.xz
Create the new linker type "linker_private_weak_def_auto".
It's similar to "linker_private_weak", but it's known that the address of the object is not taken. For instance, functions that had an inline definition, but the compiler decided not to inline it. Note, unlike linker_private and linker_private_weak, linker_private_weak_def_auto may have only default visibility. The symbols are removed by the linker from the final linked image (executable or dynamic library). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/linker_private_linkages.ll')
-rw-r--r--test/Feature/linker_private_linkages.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Feature/linker_private_linkages.ll b/test/Feature/linker_private_linkages.ll
index 19bcbb40aa..f9f2908756 100644
--- a/test/Feature/linker_private_linkages.ll
+++ b/test/Feature/linker_private_linkages.ll
@@ -4,3 +4,4 @@
@foo = linker_private hidden global i32 0
@bar = linker_private_weak hidden global i32 0
+@qux = linker_private_weak_def_auto global i32 0