summaryrefslogtreecommitdiff
path: root/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
commit75338097c786eea1c461e744a2c45af78f56286f (patch)
treec76fcc9ba79df82b8fabeb896f0c6340629f8fdd /utils/findmisopt
parentb423d18a00eed4968d6df7415449259b09b7d67e (diff)
downloadllvm-75338097c786eea1c461e744a2c45af78f56286f.tar.gz
llvm-75338097c786eea1c461e744a2c45af78f56286f.tar.bz2
llvm-75338097c786eea1c461e744a2c45af78f56286f.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/findmisopt')
-rwxr-xr-xutils/findmisopt3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/findmisopt b/utils/findmisopt
index f2a872c6dc..88f991a634 100755
--- a/utils/findmisopt
+++ b/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