[llvm-commits] [PATCH] Removing llvm-ld.

Michael Spencer bigcheesegs at gmail.com
Thu Apr 5 16:47:29 PDT 2012

I feel that llvm-ld is no longer useful and causes confusion and so I
would like to remove it (the program itself even states it's a
"temporary hack").

* 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.

This patch removes llvm-ld, llvm-stub, and all documentation
referencing llvm-ld (and some referencing llvm-gcc).

One remaining issue with removing it is the test
Linker/link-archives.ll. llvm-link does not support linking archives,
but this can be added if it agreed that llvm-ld should be removed.

- Michael Spencer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-llvm-ld-05-04-2012.patch
Type: application/octet-stream
Size: 69429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120405/f6675f67/attachment.obj>

More information about the llvm-commits mailing list