Skip to content
  1. Nov 02, 2010
  2. Oct 19, 2010
    • Owen Anderson's avatar
      Get rid of static constructors for pass registration. Instead, every pass... · 6c18d1aa
      Owen Anderson authored
      Get rid of static constructors for pass registration.  Instead, every pass exposes an initializeMyPassFunction(), which
      must be called in the pass's constructor.  This function uses static dependency declarations to recursively initialize
      the pass's dependencies.
      
      Clients that only create passes through the createFooPass() APIs will require no changes.  Clients that want to use the
      CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h
      before parsing commandline arguments.
      
      I have tested this with all standard configurations of clang and llvm-gcc on Darwin.  It is possible that there are problems
      with the static dependencies that will only be visible with non-standard options.  If you encounter any crash in pass
      registration/creation, please send the testcase to me directly.
      
      llvm-svn: 116820
      6c18d1aa
  3. Oct 07, 2010
  4. Sep 01, 2010
  5. Aug 20, 2010
  6. May 07, 2010
  7. Apr 17, 2010
  8. Mar 30, 2010
  9. Mar 27, 2010
  10. Mar 24, 2010
  11. Mar 23, 2010
  12. Jan 28, 2010
  13. Oct 22, 2009
  14. Aug 25, 2009
    • Dan Gohman's avatar
      Make LLVM command-line tools overwrite their output files without -f. · 61a8796d
      Dan Gohman authored
      This is conventional command-line tool behavior. -f now just means
      "enable binary output on terminals".
      
      Add a -f option to llvm-extract and llvm-link, for consistency.
      
      Remove F_Force from raw_fd_ostream and enable overwriting and
      truncating by default. Introduce an F_Excl flag to permit users to
      enable a failure when the file already exists. This flag is
      currently unused.
      
      Update Makefiles and documentation accordingly.
      
      llvm-svn: 79990
      61a8796d
  15. Aug 24, 2009
    • Chris Lattner's avatar
      Prune #includes from llvm/Linker.h and llvm/System/Path.h, · c521f541
      Chris Lattner authored
      forcing them down into various .cpp files.
      
      This change also:
      1. Renames TimeValue::toString() and Path::toString() to ::str()
         for similarity with the STL.
      2. Removes all stream insertion support for sys::Path, forcing
         clients to call .str().
      3. Removes a use of Config/alloca.h from bugpoint, using smallvector
         instead.
      4. Weans llvm-db off <iostream>
      
      sys::Path really needs to be gutted, but I don't have the desire to
      do it at this point.
      
      llvm-svn: 79869
      c521f541
  16. Aug 23, 2009
    • Chris Lattner's avatar
      Change raw_fd_ostream to take flags as an optional bitmask · 9e6f1f16
      Chris Lattner authored
      instead of as two bools.  Use this to add a F_Append flag
      which has the obvious behavior.
      
      Other unrelated changes conflated into this patch:
      
      1. REmove EH stuff from llvm-dis and llvm-as, the try blocks
         are dead.
      2. Simplify the filename inference code in llvm-as/llvm-dis,
         because raw_fd_ostream does the right thing with '-'.
      3. Switch machine verifier to use raw_ostream instead of ostream
         (Which is the thing that needed append in the first place).
      
      llvm-svn: 79807
      9e6f1f16
  17. Aug 05, 2009
  18. Jul 22, 2009
  19. Jul 16, 2009
  20. Jul 01, 2009
  21. Mar 06, 2009
  22. Jan 05, 2009
  23. Nov 19, 2008
  24. Jun 27, 2008
  25. Jun 15, 2008
  26. Feb 20, 2008
  27. Jan 27, 2008
  28. Jan 09, 2008
  29. Dec 29, 2007
Loading