aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitf8f70c1a17750a4453a898f6328d1421bf82c3be (patch)
treefb880abc7cf38e074f8a70b349109f3027f0fadd /tools/llvm-ld/Optimize.cpp
parent3f14fb1a0b3fac070714caa82bf938c410bbe232 (diff)
downloadexternal_llvm-f8f70c1a17750a4453a898f6328d1421bf82c3be.zip
external_llvm-f8f70c1a17750a4453a898f6328d1421bf82c3be.tar.gz
external_llvm-f8f70c1a17750a4453a898f6328d1421bf82c3be.tar.bz2
Adjust to change in pass name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ld/Optimize.cpp')
-rw-r--r--tools/llvm-ld/Optimize.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-ld/Optimize.cpp b/tools/llvm-ld/Optimize.cpp
index 47d4799..5dc9424 100644
--- a/tools/llvm-ld/Optimize.cpp
+++ b/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());