diff options
| author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-08-27 16:45:17 +0000 |
|---|---|---|
| committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-08-27 16:45:17 +0000 |
| commit | f246131208bd16e7515ada4bdd3ac64f41784183 (patch) | |
| tree | bd389a46321943a784e897b7358313d0492eadcd /llvm/lib/Target | |
| parent | 91680b53f4c97057c0353c7ba29231b0d3cef559 (diff) | |
| download | bcm5719-llvm-f246131208bd16e7515ada4bdd3ac64f41784183.tar.gz bcm5719-llvm-f246131208bd16e7515ada4bdd3ac64f41784183.zip | |
Added getFunctionInfo and MappingInfoForFunction pass, and fixed the earlier error in compiling
llvm-svn: 3513
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/Sparc/Sparc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp index 0908f85da2f..be9159a86cc 100644 --- a/llvm/lib/Target/Sparc/Sparc.cpp +++ b/llvm/lib/Target/Sparc/Sparc.cpp @@ -182,7 +182,7 @@ void UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) { PM.add(createPrologEpilogCodeInserter(*this)); - //PM.add(MappingInfoForFunction(Out)); + PM.add(MappingInfoForFunction(Out)); // Output assembly language to the .s file. Assembly emission is split into // two parts: Function output and Global value output. This is because @@ -192,12 +192,12 @@ void UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) { // PM.add(getFunctionAsmPrinterPass(PM, Out)); PM.add(new FreeMachineCodeForFunction()); // Free stuff no longer needed - + // Emit Module level assembly after all of the functions have been processed. PM.add(getModuleAsmPrinterPass(PM, Out)); // Emit bytecode to the sparc assembly file into its special section next PM.add(getEmitBytecodeToAsmPass(Out)); - //PM.add(getFunctionInfo(Out)); + PM.add(getFunctionInfo(Out)); } |

