Added getFunctionInfo and MappingInfoForFunction pass, and fixed the earlier error...
authorAnand Shukla <ashukla@cs.uiuc.edu>
Tue, 27 Aug 2002 16:45:17 +0000 (16:45 +0000)
committerAnand Shukla <ashukla@cs.uiuc.edu>
Tue, 27 Aug 2002 16:45:17 +0000 (16:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3513 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9TargetMachine.cpp

index 0908f85da2f55b70e915902ce3be340503f55b0d..be9159a86cc782e9d768fc59c6a9212b96d66593 100644 (file)
@@ -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)); 
 }