[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Dec 2 13:05:16 PST 2004



Changes in directory llvm/lib/Target/SparcV9:

SparcV9TargetMachine.cpp updated: 1.127 -> 1.128
---
Log message:

The stripping pass as we know it is about to disappear


---
Diffs of the changes:  (+1 -9)

Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.127 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.128
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.127	Fri Nov 19 17:34:33 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp	Thu Dec  2 15:05:01 2004
@@ -63,10 +63,6 @@
                  cl::init(false),
                  cl::desc("Emit LLVM-to-MachineCode mapping info to assembly"));
 
-  cl::opt<bool> DisableStrip("disable-strip",
-                      cl::desc("Do not strip the LLVM bytecode in executable"));
-
-  
   cl::opt<bool> EnableModSched("enable-modsched", 
 	 cl::desc("Enable modulo scheduling pass instead of local scheduling"), cl::Hidden);
 
@@ -239,12 +235,8 @@
   PM.add(createSparcV9MachineCodeDestructionPass());
 
   // Emit bytecode to the assembly file into its special section next
-  if (EmitMappingInfo) {
-    // Strip all of the symbols from the bytecode so that it will be smaller...
-    if (!DisableStrip)
-      PM.add(createSymbolStrippingPass());
+  if (EmitMappingInfo)
     PM.add(createBytecodeAsmPrinterPass(Out));
-  }
   
   return false;
 }






More information about the llvm-commits mailing list