aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorPatrick Jenkins <pjenkins@apple.com>2006-08-15 16:40:49 +0000
committerPatrick Jenkins <pjenkins@apple.com>2006-08-15 16:40:49 +0000
commitc46c03834c69d5bd3b937716dbe6373e22834cc4 (patch)
treed7a0d71319549d713d22c539d0e2f79b6b61c22b /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parent6047ec97edf1a8a20ed3a130cd0f336db0231ac6 (diff)
downloadllvm-c46c03834c69d5bd3b937716dbe6373e22834cc4.zip
llvm-c46c03834c69d5bd3b937716dbe6373e22834cc4.tar.gz
llvm-c46c03834c69d5bd3b937716dbe6373e22834cc4.tar.bz2
This commit adds a new feature called find-bugs. The find-bugs option can be invoked on a .bc file from the command like with -find-bugs and a list of passes you wish to test. This procedure takes the set of optimization passes the user specifies, randomizes the passes, runs the passes on the specified .bc file, compiles the program, and finally runs the program checking its output vs the .bc file with no optimizations. This process repeats until either the user kills bugpoint or an error occurs in the optimizations, program complitation, or the running of the program. If an error occurs, bugpoint attempts to diagnose the error by eliminating passes that are not at fault and code that is not needed.
llvm-svn: 29703
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions