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 14, 2010
  5. Sep 10, 2010
  6. Sep 01, 2010
  7. Aug 20, 2010
  8. May 07, 2010
  9. Apr 17, 2010
  10. Mar 30, 2010
  11. Mar 27, 2010
  12. Mar 24, 2010
  13. Mar 23, 2010
  14. Jan 28, 2010
  15. Jan 24, 2010
  16. Jan 22, 2010
    • Chris Lattner's avatar
      Stop building RTTI information for *most* llvm libraries. Notable · 7ba0661f
      Chris Lattner authored
      missing ones are libsupport, libsystem and libvmcore.  libvmcore is
      currently blocked on bugpoint, which uses EH.  Once it stops using
      EH, we can switch it off.
      
      This #if 0's out 3 unit tests, because gtest requires RTTI information.
      Suggestions welcome on how to fix this.
      
      llvm-svn: 94164
      7ba0661f
  17. Oct 22, 2009
  18. 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
  19. 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
  20. 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
  21. Aug 05, 2009
  22. Jul 22, 2009
  23. Jul 16, 2009
  24. Jul 15, 2009
  25. Jul 01, 2009
  26. Jun 03, 2009
  27. Mar 06, 2009
  28. Feb 26, 2009
  29. Jan 05, 2009
  30. Nov 19, 2008
Loading