[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Jan 13 21:40:01 PST 2004
Changes in directory llvm/tools/gccas:
gccas.cpp updated: 1.90 -> 1.91
---
Log message:
Make sure to verify the result before writing out the bytecode file. Not doing
so can cause obscure errors downstream.
---
Diffs of the changes: (+3 -0)
Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.90 llvm/tools/gccas/gccas.cpp:1.91
--- llvm/tools/gccas/gccas.cpp:1.90 Mon Dec 29 21:24:27 2003
+++ llvm/tools/gccas/gccas.cpp Tue Jan 13 21:39:42 2004
@@ -165,6 +165,9 @@
//
AddConfiguredTransformationPasses(Passes);
+ // Make sure everything is still good.
+ Passes.add(createVerifierPass());
+
// Write bytecode to file...
Passes.add(new WriteBytecodePass(Out));
More information about the llvm-commits
mailing list