diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-02 21:05:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-02 21:05:01 +0000 |
commit | ad7919836f51277a9d5f20a2df4a292f403abae4 (patch) | |
tree | bce5ceb7f8b3368ffcab4cf0577a9774c40da951 /lib/Target/SparcV9/SparcV9TargetMachine.cpp | |
parent | ced06b73ec7bc03bdbc54d37856c5941463b01b5 (diff) |
The stripping pass as we know it is about to disappear
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r-- | lib/Target/SparcV9/SparcV9TargetMachine.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp index 5b2c0b03e6..21863d0318 100644 --- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp +++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp @@ -63,10 +63,6 @@ namespace { 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 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out 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; } |