- Apr 06, 2004
-
-
Chris Lattner authored
code. This "instantly" gives us loop-extractor power to assist with the debugment of our nasty codegen issues. :) llvm-svn: 12678
-
Chris Lattner authored
llvm-svn: 12677
-
- Mar 14, 2004
-
-
Chris Lattner authored
llvm-svn: 12396
-
Chris Lattner authored
llvm-svn: 12394
-
Chris Lattner authored
* Make several methods of bugdriver global functions (ParseInputFile, PrintFunctionList) * Make PrintFunctionList truncate the output after 10 entries, like the crash debugger did. This allows code sharing. * Add a couple of methods to BugDriver that allows us to eliminate some friends * Improve comments in ExtractFunction.cpp * Make classes that used to be friends up bugdriver now live in anon namespaces * Rip a bunch of functionality in the miscompilation tester into a new TestMergedProgram function for future code sharing. * Fix a bug in the miscompilation tester induced in my last checkin llvm-svn: 12393
-
Chris Lattner authored
llvm-svn: 12391
-
Chris Lattner authored
code duplication. Also, don't use ReduceMiscompilingFunctions::TestFuncs to print out the final message. llvm-svn: 12387
-
- Feb 19, 2004
-
-
Chris Lattner authored
llvm-svn: 11613
-
- Feb 18, 2004
-
-
Chris Lattner authored
deleteInstructionFromProgram be const llvm-svn: 11606
-
Chris Lattner authored
llvm-svn: 11605
-
Chris Lattner authored
classes in an anon namespace llvm-svn: 11604
-
Chris Lattner authored
many 'friends' of bugdriver. llvm-svn: 11603
-
Chris Lattner authored
llvm-svn: 11602
-
Chris Lattner authored
variable and the CBE variable are pointer equal. llvm-svn: 11599
-
- Feb 11, 2004
-
-
Brian Gaeke authored
Add ProgramExitedNonzero argument to executeProgram(), and make it tell its caller whether the program exited nonzero. Move executeProgramWithCBE() out of line, to ExecutionDriver.cpp, and remove its extra arguments which are always defaulted. Make it turn off check-exit-code if the program exits nonzero while generating a reference output. Make diffProgram() assume that any nonzero exit code is a failure, if check-exit-code is turned on. llvm-svn: 11325
-
- Nov 11, 2003
-
-
Brian Gaeke authored
llvm-svn: 9903
-
- Nov 05, 2003
-
-
Chris Lattner authored
in final cleanups. Then you had to run the whole mess again with -disable-final-cleanups. This makes bugpoint run the cleanups in a protected environment so that if they crash, bugpoint itself doesn't crash. This makes things much happier, implements a FIXME, and gets rid of YABPO (yet another bugpoint option). llvm-svn: 9743
-
Chris Lattner authored
llvm-svn: 9740
-
- Oct 20, 2003
-
-
Chris Lattner authored
llvm-svn: 9293
-
John Criswell authored
llvm-svn: 9291
-
- Oct 18, 2003
-
-
Chris Lattner authored
llvm-svn: 9214
-
- Oct 14, 2003
-
-
Chris Lattner authored
Other adjustments to work with the new ToolRunner interfaces llvm-svn: 9130
-
Chris Lattner authored
object's name instead llvm-svn: 9120
-
- Aug 05, 2003
-
-
Chris Lattner authored
narrowing, no matter what. llvm-svn: 7596
-
- Aug 01, 2003
-
-
Chris Lattner authored
llvm-svn: 7477
-
- Jul 28, 2003
-
-
Misha Brukman authored
llvm-svn: 7370
-
Misha Brukman authored
* Added method to query if BugDriver is executing the JIT currently. This provides the ability in adding code that is conditionally executed in codegen debugging phase. CodeGeneratorBug.cpp: * Delete test functions from the Safe module * Code conditionally added when debugging the JIT: use the lazy resolver function added to Emitter.cpp to get function pointer by name. When compiled into an .so, this is the only way to get a pointer to an external function * Added a symbol disambiguator which will keep symbols uniquely named across modules * Delete generated files by default * The function `main' *must* stay in the .bc file for the JIT, but that prevents debugging it alone. This patch makes the old `main' become `old_main' and adds a new function named `main' which just calls the original with the same parameters, thereby keeping functionality the same. ExecutionDriver.cpp: * Returned to getting unique filenames * Simplified code choosing between using and not using shared library option llvm-svn: 7364
-
- Jul 24, 2003
-
-
Misha Brukman authored
* Removed unused global and member variables * Fixed comments (CodeGeneratorBug.cpp) * Check for possibly failing GCC::create() and CBE::create() * Remove generated files after diffing the output (e.g., shared object) * Instead of using std::for_each, use explicit loops as std::for_each may duplicate the functor, and ours carries state * Changed member var from cl::opt<std::string> to just std::string * Fixed doxygen comments * Fixed string comparisons to use [ str.empty() ] instead of [ str == "" ] * Cache instances of CBE and GCC in BugDriver across compilations and executions while testing tools. llvm-svn: 7302
-
Misha Brukman authored
The C backend is assumed correct and is used to generate shared objects to be loaded by the other two code generators. LLC debugging should be functional now, LLI needs a few more additions to work, the major one is renaming of external functions to call the JIT lazy function resolver. Bugpoint now has a command-line switch -mode with options 'compile' and 'codegen' to debug appropriate portions of tools. ExecutionDriver.cpp: Added implementations of AbstractInterpreter for LLC and GCC, broke out common code within other tools, and added ability to generate C code with CBE individually, without executing the program, and the GCC tool can generate executables shared objects or executables. If no reference output is specified to Bugpoint, it will be generated with CBE, because it is already assumed to be correct for the purposes of debugging using this method. As a result, many functions now accept as an optional parameter a shared object to be loaded in, if specified. llvm-svn: 7293
-
- Apr 25, 2003
-
-
Chris Lattner authored
Speed up convergence significantly and also reduce the size of testcases by making large portions of a function's CFG dead at a time. llvm-svn: 5915
-
Chris Lattner authored
llvm-svn: 5913
-
Chris Lattner authored
only occur when multiple passes interact or when multiple functions exist in a module llvm-svn: 5911
-
- Apr 24, 2003
-
-
Chris Lattner authored
is miscompiling. llvm-svn: 5893
-
- Feb 28, 2003
-
-
Chris Lattner authored
- This also speeds it up as the bytecode writer isn't terribly fast. * Add a new cleanup pass after everything else to run -funcresolve -globaldce llvm-svn: 5668
-
- Jan 23, 2003
-
-
Chris Lattner authored
out of a large function to reduce it. llvm-svn: 5408
-
- Dec 24, 2002
-
-
Chris Lattner authored
llvm-svn: 5119
-
- Nov 20, 2002
-
-
Chris Lattner authored
llvm-svn: 4789
-