Skip to content
  1. Apr 06, 2004
  2. Mar 14, 2004
    • Chris Lattner's avatar
      Refactor and clean up a bunch more code. No major functionality changes. · fd72bed3
      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
      fd72bed3
    • Chris Lattner's avatar
      Refactor all of the "splitting a module into two pieces" code to avoid · 567543f0
      Chris Lattner authored
      code duplication.  Also, don't use ReduceMiscompilingFunctions::TestFuncs
      to print out the final message.
      
      llvm-svn: 12387
      567543f0
  3. Feb 20, 2004
  4. Feb 19, 2004
  5. Feb 18, 2004
  6. Jan 14, 2004
  7. Nov 11, 2003
  8. Oct 20, 2003
  9. Oct 15, 2003
  10. Oct 14, 2003
  11. Oct 13, 2003
  12. Sep 17, 2003
  13. Aug 22, 2003
  14. Aug 07, 2003
  15. 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
  16. May 23, 2003
  17. May 03, 2003
  18. Apr 25, 2003
  19. Apr 24, 2003
  20. Dec 24, 2002
  21. Nov 20, 2002
Loading