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 | c9d8b4d45c58ab6576a42694bcc047c44a3f0104 (patch) | |
tree | 47e243766853fa05ff139e8c34c214eaef38475d | |
parent | 85b380582ee31be17998d734f46207ccbddb18d6 (diff) | |
download | bcm5719-llvm-c9d8b4d45c58ab6576a42694bcc047c44a3f0104.tar.gz bcm5719-llvm-c9d8b4d45c58ab6576a42694bcc047c44a3f0104.zip |
Explain what this pass does.
llvm-svn: 17146
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp b/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp index 7b624ad007c..a12f57de9a2 100644 --- a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/llvm/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. // |