Revert the last patch. We really do need SimplyCFG.
[oota-llvm.git] / tools / llvm-ld / Optimize.cpp
index 47d4799bcf1ce586401fb7fbb9edded5020220ed..5dc9424be9036b90d137b82374ffa2c2ddb95a26 100644 (file)
@@ -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());