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