aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-06-24 16:49:55 +0000
committerChris Lattner <sabre@nondot.org>2002-06-24 16:49:55 +0000
commit6a4550927241082b3f1f30a0bd042269b7ff1f3a (patch)
treea01b68f16e0497418e369cdaed8e09bb9a823f27
parent8bed246b1f0e2f400c3b38fd6c7f20cb6f428eab (diff)
Checkin descriptive note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2765 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/extract/README.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/extract/README.txt b/tools/extract/README.txt
new file mode 100644
index 0000000000..6f0cda94cf
--- /dev/null
+++ b/tools/extract/README.txt
@@ -0,0 +1,15 @@
+I checked in a new tool, primarily useful for debugging. Given a module
+and a function name, it extracts just the specified function from the
+module, with a minimum of related cruft (global variables, function
+prototypes, etc).
+
+This is useful because often something will die (for example SCCP
+miscompiles one function of a large benchmark), and so you want to just
+cut the testcase down to the one function that is being a problem. In
+this case, 'extract' eliminates all of the extraneous global variables,
+type information, and functions that aren't neccesary, giving you
+something simpler.
+
+This is just an FYI, because I've found it useful and thought you guys
+might as well.
+