Skip to content
  1. 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
  2. Oct 12, 2010
  3. Oct 08, 2010
  4. Aug 23, 2010
  5. Aug 06, 2010
  6. Apr 14, 2010
  7. Mar 26, 2010
  8. Sep 02, 2009
  9. Aug 13, 2009
  10. Jul 31, 2009
  11. Jul 22, 2009
  12. Jul 16, 2009
  13. Jul 15, 2009
  14. Jul 03, 2009
  15. Sep 04, 2008
  16. May 16, 2008
  17. May 13, 2008
  18. Dec 29, 2007
  19. Oct 22, 2007
  20. May 06, 2007
  21. May 03, 2007
  22. May 02, 2007
  23. May 01, 2007
  24. Apr 16, 2007
  25. Feb 06, 2007
  26. Jan 30, 2007
  27. Dec 19, 2006
  28. Dec 06, 2006
  29. Aug 28, 2006
  30. Nov 25, 2005
  31. Nov 22, 2005
  32. Nov 10, 2005
Loading