[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Oct 20 12:39:09 PDT 2004



Changes in directory llvm/lib/Transforms/Instrumentation:

EmitFunctions.cpp updated: 1.20 -> 1.21
---
Log message:

Explain what this pass does.


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

Index: llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
diff -u llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.20 llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.21
--- llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.20	Thu Sep 30 15:14:07 2004
+++ llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp	Wed Oct 20 14:38:58 2004
@@ -7,7 +7,13 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// This inserts a global constant table with function pointers all along.
+// This inserts into the input module three new global constants containing
+// mapping information pertinent to the Reoptimizer's runtime library:
+// 1) a structure containing a pointer to each function;
+// 2) an array containing a boolean which is true iff the corresponding
+//    function in 1) contains a back-edge branch suitable for the Reoptimizer's
+//    first-level instrumentation;
+// 3) an integer containing the number of entries in 1) and 2).
 //
 // NOTE: This pass is used by the reoptimizer only.
 //






More information about the llvm-commits mailing list