llvm-project/llvm/tools/extract
Misha Brukman 7eb05a170a Spell `necessary' correctly.
llvm-svn: 7944
2003-08-18 14:43:39 +00:00
..
Makefile *** empty log message *** 2002-07-23 17:52:38 +00:00
README.txt Spell `necessary' correctly. 2003-08-18 14:43:39 +00:00
extract.cpp Move the function extractor pass from tools/extract into lib/Xform/IPO 2002-11-19 18:42:59 +00:00

README.txt

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 necessary, giving you 
something simpler.

This is just an FYI, because I've found it useful and thought you guys 
might as well.