Skip to content

Commit

Permalink
Remove llvm-ld and llvm-stub (which is only used by llvm-ld).
Browse files Browse the repository at this point in the history
llvm-ld is no longer useful and causes confusion and so it is being removed.

* Does not work very well on Windows because it must call a gcc like driver to
  assemble and link.
* Has lots of hard coded paths which are wrong on many systems.
* Does not understand most of ld's options.
* Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} |
  ld, or fully replaced by Clang.

I know of no production use of llvm-ld, and hacking use should be
replaced by Clang's driver.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155147 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Bigcheese committed Apr 19, 2012
1 parent b423d18 commit 7533809
Show file tree
Hide file tree
Showing 30 changed files with 34 additions and 1,515 deletions.
3 changes: 0 additions & 3 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,6 @@ ifeq ($(LLVM_CROSS_COMPILING),1)
else
LLVM_CONFIG := $(LLVMToolDir)/llvm-config$(EXEEXT)
endif
ifndef LLVMLD
LLVMLD := $(LLVMToolDir)/llvm-ld$(EXEEXT)
endif
ifndef LLVMDIS
LLVMDIS := $(LLVMToolDir)/llvm-dis$(EXEEXT)
endif
Expand Down
6 changes: 3 additions & 3 deletions docs/Bugpoint.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ <h2>
causes the crash, and reduce the file down to a small example which triggers the
crash.</p>

<p>For detailed case scenarios, such as debugging <tt>opt</tt>,
<tt>llvm-ld</tt>, or one of the LLVM code generators, see <a
href="HowToSubmitABug.html">How To Submit a Bug Report document</a>.</p>
<p>For detailed case scenarios, such as debugging <tt>opt</tt>, or one of the
LLVM code generators, see <a href="HowToSubmitABug.html">How To Submit a Bug
Report document</a>.</p>

</div>

Expand Down
3 changes: 0 additions & 3 deletions docs/CommandGuide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ <h2>
<li><a href="/cmds/llvm-prof.html"><b>llvm-prof</b></a> -
format raw `<tt>llvmprof.out</tt>' data into a human-readable report</li>

<li><a href="/cmds/llvm-ld.html"><b>llvm-ld</b></a> -
general purpose linker with loadable runtime optimization support</li>

<li><a href="/cmds/llvm-config.html"><b>llvm-config</b></a> -
print out LLVM compilation options, libraries, etc. as configured</li>

Expand Down
234 changes: 0 additions & 234 deletions docs/CommandGuide/llvm-ld.pod

This file was deleted.

Loading

0 comments on commit 7533809

Please sign in to comment.