llvm-6502/tools
Rafael Espindola d3732d9095 Simplify the handling of aliases in the gold plugin.
The complicated situation is when we have to keep an alias but drop a GV
that is part of the aliasee.

We used to clone the dropped GV and make the clone internal. This is wasteful
as we know the original will be dropped.

With this patch what is done instead is set the linkage of the original to
internal and replace all uses (but the one in the alias) with a new
declaration that takes the name of the old GV. This saves us from having
to copy the body.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223863 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-10 00:09:35 +00:00
..
bugpoint
bugpoint-passes
gold Simplify the handling of aliases in the gold plugin. 2014-12-10 00:09:35 +00:00
llc
lli
llvm-ar [CMake] Fix installation of llvm-ranlib on multiconfig builder. 2014-12-08 13:43:38 +00:00
llvm-as
llvm-bcanalyzer
llvm-c-test
llvm-config
llvm-cov
llvm-diff
llvm-dis
llvm-dwarfdump
llvm-extract
llvm-go
llvm-jitlistener
llvm-link
llvm-lto
llvm-mc
llvm-mcmarkup
llvm-nm Return ErrorOr<std::unique_ptr<Archive>> form getAsArchive. 2014-12-09 21:05:36 +00:00
llvm-objdump Return ErrorOr<std::unique_ptr<Archive>> form getAsArchive. 2014-12-09 21:05:36 +00:00
llvm-profdata
llvm-readobj
llvm-rtdyld
llvm-shlib Adding a new option to CMake to disable C++ atexit on llvm-shlib. 2014-12-09 18:49:55 +00:00
llvm-size Return ErrorOr<std::unique_ptr<Archive>> form getAsArchive. 2014-12-09 21:05:36 +00:00
llvm-stress
llvm-symbolizer
llvm-vtabledump
lto
macho-dump
msbuild
obj2yaml
opt
verify-uselistorder Prologue support 2014-12-03 02:08:38 +00:00
yaml2obj
CMakeLists.txt Revert "Initial dsymutil tool commit." 2014-12-09 17:21:50 +00:00
LLVMBuild.txt Revert "Initial dsymutil tool commit." 2014-12-09 17:21:50 +00:00
Makefile Revert "Initial dsymutil tool commit." 2014-12-09 17:21:50 +00:00