diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-11 22:35:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-11 22:35:46 +0000 |
commit | 9530a6f3cd8d071c260baa12f28d66f9d6f983d1 (patch) | |
tree | 9f09243fcfb9317d5c45e7105c0e85e410af24ff /lib/Target/SparcV9/SparcV9TargetMachine.cpp | |
parent | 355df3f73d6eabc7ce236c0204fe155996543d08 (diff) | |
download | external_llvm-9530a6f3cd8d071c260baa12f28d66f9d6f983d1.zip external_llvm-9530a6f3cd8d071c260baa12f28d66f9d6f983d1.tar.gz external_llvm-9530a6f3cd8d071c260baa12f28d66f9d6f983d1.tar.bz2 |
Write llvm bytecode to output .s file as last step of LLC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r-- | lib/Target/SparcV9/SparcV9TargetMachine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp index 422dda0..14be992 100644 --- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp +++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp @@ -269,4 +269,7 @@ void UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) { // Emit Module level assembly after all of the methods have been processed. PM.add(getModuleAsmPrinterPass(PM, Out)); + + // Emit bytecode to the sparc assembly file into its special section next + PM.add(getEmitBytecodeToAsmPass(Out)); } |