[llvm-commits] CVS: llvm/tools/llc/llc.cpp

Jim Laskey jlaskey at apple.com
Wed Jan 4 05:42:15 PST 2006



Changes in directory llvm/tools/llc:

llc.cpp updated: 1.123 -> 1.124
---
Log message:

Adding MachineDebugInfo as a immutable pass.


---
Diffs of the changes:  (+4 -0)

 llc.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.123 llvm/tools/llc/llc.cpp:1.124
--- llvm/tools/llc/llc.cpp:1.123	Thu Dec 29 20:50:44 2005
+++ llvm/tools/llc/llc.cpp	Wed Jan  4 07:42:02 2006
@@ -27,6 +27,7 @@
 #include "llvm/Support/FileUtilities.h"
 #include "llvm/Analysis/Verifier.h"
 #include "llvm/System/Signals.h"
+#include "llvm/CodeGen/MachineDebugInfo.h"
 #include "llvm/Config/config.h"
 #include <fstream>
 #include <iostream>
@@ -237,6 +238,9 @@
         sys::RemoveFileOnSignal(sys::Path(OutputFilename));
       }
     }
+    
+    // Set up collection of debug information
+    Passes.add(createDebugInfoPass());
 
     // Ask the target to add backend passes as necessary.
     if (Target.addPassesToEmitFile(Passes, *Out, FileType, Fast)) {






More information about the llvm-commits mailing list