diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-10-20 19:38:58 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-10-20 19:38:58 +0000 |
commit | a30dd79be8d76e8571557fd4524b6201e21a83c7 (patch) | |
tree | 4d7ac79dae593b9a387a5f8c70c1a5d822b76550 | |
parent | 57bbfcec9172face0ffca2c1922d57d3d140bd43 (diff) | |
download | external_llvm-a30dd79be8d76e8571557fd4524b6201e21a83c7.zip external_llvm-a30dd79be8d76e8571557fd4524b6201e21a83c7.tar.gz external_llvm-a30dd79be8d76e8571557fd4524b6201e21a83c7.tar.bz2 |
Explain what this pass does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17146 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Instrumentation/EmitFunctions.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/EmitFunctions.cpp b/lib/Transforms/Instrumentation/EmitFunctions.cpp index 7b624ad..a12f57d 100644 --- a/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/lib/Transforms/Instrumentation/EmitFunctions.cpp @@ -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. // |