Skip to content
  1. May 06, 2004
  2. May 04, 2004
  3. Apr 19, 2004
  4. Apr 02, 2004
  5. Feb 19, 2004
  6. Feb 18, 2004
  7. Feb 11, 2004
    • Brian Gaeke's avatar
      Add check-exit-code option, defaulting to true. · 35145beb
      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
      35145beb
  8. Jan 14, 2004
  9. Nov 11, 2003
  10. Oct 21, 2003
  11. Oct 20, 2003
  12. Oct 19, 2003
  13. Oct 18, 2003
  14. Oct 15, 2003
  15. Oct 14, 2003
  16. Oct 07, 2003
  17. Sep 30, 2003
  18. Aug 29, 2003
  19. Aug 19, 2003
  20. Aug 07, 2003
  21. Aug 04, 2003
  22. Aug 02, 2003
  23. Aug 01, 2003
  24. Jul 30, 2003
  25. Jul 28, 2003
    • Misha Brukman's avatar
      BugDriver.h: · 539f9593
      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
      539f9593
  26. Jul 24, 2003
    • Misha Brukman's avatar
      Made a bunch of cleanups, as per Chris' recommendations: · 0fd31727
      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
      0fd31727
    • Misha Brukman's avatar
      Major addition to bugpoint: ability to debug code generators (LLC and LLI). · d792c9bb
      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
      d792c9bb
  27. May 03, 2003
  28. Apr 24, 2003
  29. Apr 23, 2003
Loading