diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-04-19 19:27:54 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-04-19 19:27:54 +0000 |
commit | 9125493efee5bd6c15db0c82eb4973723e462e54 (patch) | |
tree | d0f494f32c4a93c56f1491bc3fe13d13d669828d /llvm/test/Linker/link-archive.ll | |
parent | 4fdc339db5b954c387d46fd6e6b1e5343f07e5f3 (diff) | |
download | bcm5719-llvm-9125493efee5bd6c15db0c82eb4973723e462e54.tar.gz bcm5719-llvm-9125493efee5bd6c15db0c82eb4973723e462e54.zip |
Remove llvm-ld and llvm-stub (which is only used by llvm-ld).
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.
llvm-svn: 155147
Diffstat (limited to 'llvm/test/Linker/link-archive.ll')
-rw-r--r-- | llvm/test/Linker/link-archive.ll | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/test/Linker/link-archive.ll b/llvm/test/Linker/link-archive.ll deleted file mode 100644 index 9251b4e597f..00000000000 --- a/llvm/test/Linker/link-archive.ll +++ /dev/null @@ -1,16 +0,0 @@ -; Test linking of a bc file to an archive via llvm-ld. -; PR1434 -; RUN: rm -f %t.bar.a %t.foo.a -; RUN: llvm-as %s -o %t.bar.bc -; RUN: echo {define i32* @foo(i32 %x) \{ ret i32* @baz \} \ -; RUN: @baz = external global i32 } | llvm-as -o %t.foo.bc -; RUN: llvm-ar rcf %t.foo.a %t.foo.bc -; RUN: llvm-ar rcf %t.bar.a %t.bar.bc -; RUN: llvm-ld -disable-opt %t.bar.bc %t.foo.a -o %t.bc -; RUN: llvm-ld -disable-opt %t.foo.bc %t.bar.a -o %t.bc -declare i32* @foo(...) -define i32* @bar() { - %ret = call i32* (...)* @foo( i32 123 ) - ret i32* %ret -} -@baz = global i32 0 |