Explain what this pass does.
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 20 Oct 2004 19:38:58 +0000 (19:38 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 20 Oct 2004 19:38:58 +0000 (19:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17146 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/EmitFunctions.cpp

index 7b624ad007c593a22906c335038c7a13e42c0f14..a12f57de9a28f4694f8873a28575e74199a0f663 100644 (file)
@@ -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.
 //