summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld/Optimize.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-02 21:27:35 +0000
committerChris Lattner <sabre@nondot.org>2004-12-02 21:27:35 +0000
commit99a7c3d26f981d799b25fdb668412b0c90adcb73 (patch)
tree0e14c02446a72ceaa45071d3310abfa49b838ca9 /llvm/tools/llvm-ld/Optimize.cpp
parent4913b65616ba1bb35035fd98552193aa5788a4a9 (diff)
downloadbcm5719-llvm-99a7c3d26f981d799b25fdb668412b0c90adcb73.tar.gz
bcm5719-llvm-99a7c3d26f981d799b25fdb668412b0c90adcb73.zip
Adjust to change in pass name
llvm-svn: 18442
Diffstat (limited to 'llvm/tools/llvm-ld/Optimize.cpp')
-rw-r--r--llvm/tools/llvm-ld/Optimize.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-ld/Optimize.cpp b/llvm/tools/llvm-ld/Optimize.cpp
index 47d4799bcf1..5dc9424be90 100644
--- a/llvm/tools/llvm-ld/Optimize.cpp
+++ b/llvm/tools/llvm-ld/Optimize.cpp
@@ -126,10 +126,10 @@ void Optimize(Module* M) {
addPass(Passes, createConstantMergePass());
// If the -s command line option was specified, strip the symbols out of the
- // resulting program to make it smaller. -s is a GCC option that we are
+ // resulting program to make it smaller. -s is a GLD option that we are
// supporting.
if (Strip)
- addPass(Passes, createSymbolStrippingPass());
+ addPass(Passes, createStripSymbolsPass());
// Propagate constants at call sites into the functions they call.
addPass(Passes, createIPConstantPropagationPass());
OpenPOWER on IntegriCloud