Create the new linker type "linker_private_weak_def_auto".
authorBill Wendling <isanbard@gmail.com>
Fri, 20 Aug 2010 22:05:50 +0000 (22:05 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 20 Aug 2010 22:05:50 +0000 (22:05 +0000)
commit55ae515f9db484125a23429d4906c5edaf9f10d2
treee14046431613e74d8ed507098486df1ed09dfa40
parent489b29b0a4ee4526e3d50ad88d3d48745baf5042
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
15 files changed:
docs/LangRef.html
include/llvm-c/Core.h
include/llvm/GlobalValue.h
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLToken.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/CppBackend/CPPBackend.cpp
lib/Target/Mangler.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/Core.cpp
lib/VMCore/Verifier.cpp
test/Feature/linker_private_linkages.ll