Skip to content
  1. Jan 18, 2011
  2. Jan 17, 2011
  3. Jan 13, 2011
    • Peter Collingbourne's avatar
      Move name mangling support from CodeGen to AST. In the · 0ff0b376
      Peter Collingbourne authored
      process, perform a number of refactorings:
      
      - Move MiscNameMangler member functions to MangleContext
      - Remove GlobalDecl dependency from MangleContext
      - Make MangleContext abstract and move Itanium/Microsoft functionality
        to their own classes/files
      - Implement ASTContext::createMangleContext and have CodeGen use it
      
      No (intended) functionality change.
      
      llvm-svn: 123386
      0ff0b376
  4. Jan 11, 2011
  5. Jan 10, 2011
  6. Dec 30, 2010
  7. Dec 15, 2010
  8. Dec 02, 2010
  9. Nov 06, 2010
  10. Nov 02, 2010
  11. Oct 30, 2010
    • John McCall's avatar
      Better solution: calculate the visibility of functions and variables · c273f241
      John McCall authored
      independently of whether they're definitions, then teach IR generation to
      ignore non-explicit visibility when emitting declarations.  Use this to
      make sure that RTTI, vtables, and VTTs get the right visibility.
      
      More of rdar://problem/8613093
      
      llvm-svn: 117781
      c273f241
    • John McCall's avatar
      Restore r117644, this time properly ignoring -fvisibility and type visibility · 37bb6c98
      John McCall authored
      for namespace-scope variable declarations.
      
      Apply visibility in IR gen to variables that are merely declared
      and never defined.  We were previously emitting these with default
      visibility unless they were declared with private_extern.
      
      Ignore global visibility settings when computing visibility for
      a declaration's context, and key several conditions on whether a
      visibility attribute exists anywhere in the hierarchy as opposed
      to whether it exists at the current level.
      
      llvm-svn: 117729
      37bb6c98
  12. Oct 29, 2010
  13. Oct 27, 2010
  14. Oct 22, 2010
  15. Oct 19, 2010
  16. Oct 15, 2010
  17. Oct 11, 2010
  18. Sep 29, 2010
  19. Sep 28, 2010
  20. Sep 16, 2010
  21. Sep 07, 2010
  22. Aug 31, 2010
  23. Aug 26, 2010
  24. Aug 23, 2010
  25. Aug 22, 2010
  26. Aug 19, 2010
    • Charles Davis's avatar
      Add some enum goodness as requested by Chris. Now instead of storing the · 6bcb07ad
      Charles Davis authored
      active C++ ABI as a raw string, we store it as an enum. This should improve
      performance somewhat.
      
      And yes, this time, I started from a clean build directory, and
      all the tests passed. :)
      
      llvm-svn: 111507
      6bcb07ad
    • Alexis Hunt's avatar
      Generate Attr subclasses with TableGen. · dcfba7b3
      Alexis Hunt authored
      Now all classes derived from Attr are generated from TableGen.
      Additionally, Attr* is no longer its own linked list; SmallVectors or
      Attr* are used. The accompanying LLVM commit contains the updates to
      TableGen necessary for this.
      
      Some other notes about newly-generated attribute classes:
      
       - The constructor arguments are a SourceLocation and a Context&,
         followed by the attributes arguments in the order that they were
         defined in Attr.td
      
       - Every argument in Attr.td has an appropriate accessor named getFoo,
         and there are sometimes a few extra ones (such as to get the length
         of a variadic argument).
      
      Additionally, specific_attr_iterator has been introduced, which will
      iterate over an AttrVec, but only over attributes of a certain type. It
      can be accessed through either Decl::specific_attr_begin/end or
      the global functions of the same name.
      
      llvm-svn: 111455
      dcfba7b3
  27. Aug 17, 2010
  28. Aug 13, 2010
  29. Aug 08, 2010
  30. Aug 05, 2010
    • John McCall's avatar
      It turns out that linkers (at least, the Darwin linker) don't necessarily · 5513fce9
      John McCall authored
      do the right thing with mixed-visibility symbols, so disable the visibility
      optimization where that's possible, i.e. with template classes (since it's
      possible that an arbitrary template might be subject to an explicit
      instantiation elsewhere).  447.dealII actually does this.
      
      I've put the code under an option that's currently not hooked up to anything.
      
      llvm-svn: 110374
      5513fce9
Loading