[llvm-commits] CVS: reopt/lib/LightWtProfiling/TraceWriter.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Sat May 22 01:57:04 PDT 2004


Changes in directory reopt/lib/LightWtProfiling:

TraceWriter.cpp updated: 1.1 -> 1.2

---
Log message:

Add a FIXME comment.


---
Diffs of the changes:  (+2 -1)

Index: reopt/lib/LightWtProfiling/TraceWriter.cpp
diff -u reopt/lib/LightWtProfiling/TraceWriter.cpp:1.1 reopt/lib/LightWtProfiling/TraceWriter.cpp:1.2
--- reopt/lib/LightWtProfiling/TraceWriter.cpp:1.1	Wed May 19 15:16:12 2004
+++ reopt/lib/LightWtProfiling/TraceWriter.cpp	Sat May 22 01:56:38 2004
@@ -54,7 +54,8 @@
   out << "\n";
   out.close ();
 
-  // Write out bytecode.
+  // Write out bytecode. FIXME: Should extract function F (as w/
+  // 'extract' tool) and write out only F, not its entire module.
   std::ofstream bout (bytecodeFileName.c_str ());
   WriteBytecodeToFile(F->getParent (), bout);
   bout.close ();





More information about the llvm-commits mailing list