summaryrefslogtreecommitdiffstats
path: root/llvm/utils/findmisopt
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-04-19 19:27:54 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-04-19 19:27:54 +0000
commit9125493efee5bd6c15db0c82eb4973723e462e54 (patch)
treed0f494f32c4a93c56f1491bc3fe13d13d669828d /llvm/utils/findmisopt
parent4fdc339db5b954c387d46fd6e6b1e5343f07e5f3 (diff)
downloadbcm5719-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/utils/findmisopt')
-rwxr-xr-xllvm/utils/findmisopt3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/utils/findmisopt b/llvm/utils/findmisopt
index f2a872c6dc3..88f991a634c 100755
--- a/llvm/utils/findmisopt
+++ b/llvm/utils/findmisopt
@@ -76,8 +76,7 @@ echo " Optimized program: $optprog"
# Define the list of optimizations to run. This comprises the same set of
# optimizations that opt -std-compile-opts and gccld run, in the same order.
opt_switches=`llvm-as < /dev/null -o - | opt -std-compile-opts -disable-output -debug-pass=Arguments 2>&1 | sed 's/Pass Arguments: //'`
-ld_switches=`llvm-as < /dev/null -o - | llvm-ld - -debug-pass=Arguments 2>&1 | sed 's/Pass Arguments: //'`
-all_switches="$opt_switches $ld_switches"
+all_switches="$opt_switches"
echo "Passes : $all_switches"
# Create output directory if it doesn't exist
OpenPOWER on IntegriCloud