Skip to content
  1. Jan 02, 2013
    • Chandler Carruth's avatar
      Move all of the header files which are involved in modelling the LLVM IR · 9fb823bb
      Chandler Carruth authored
      into their new header subdirectory: include/llvm/IR. This matches the
      directory structure of lib, and begins to correct a long standing point
      of file layout clutter in LLVM.
      
      There are still more header files to move here, but I wanted to handle
      them in separate commits to make tracking what files make sense at each
      layer easier.
      
      The only really questionable files here are the target intrinsic
      tablegen files. But that's a battle I'd rather not fight today.
      
      I've updated both CMake and Makefile build systems (I think, and my
      tests think, but I may have missed something).
      
      I've also re-sorted the includes throughout the project. I'll be
      committing updates to Clang, DragonEgg, and Polly momentarily.
      
      llvm-svn: 171366
      9fb823bb
  2. Dec 03, 2012
    • Chandler Carruth's avatar
      Use the new script to sort the includes of every file under lib. · ed0881b2
      Chandler Carruth authored
      Sooooo many of these had incorrect or strange main module includes.
      I have manually inspected all of these, and fixed the main module
      include to be the nearest plausible thing I could find. If you own or
      care about any of these source files, I encourage you to take some time
      and check that these edits were sensible. I can't have broken anything
      (I strictly added headers, and reordered them, never removed), but they
      may not be the headers you'd really like to identify as containing the
      API being implemented.
      
      Many forward declarations and missing includes were added to a header
      files to allow them to parse cleanly when included first. The main
      module rule does in fact have its merits. =]
      
      llvm-svn: 169131
      ed0881b2
  3. Oct 08, 2012
  4. Sep 14, 2012
    • Dmitri Gribenko's avatar
      Fix Doxygen issues: · 5485acd4
      Dmitri Gribenko authored
      * wrap code blocks in \code ... \endcode;
      * refer to parameter names in paragraphs correctly (\arg is not what most
        people want -- it starts a new paragraph);
      * use \param instead of \arg to document parameters in order to be consistent
        with the rest of the codebase.
      
      llvm-svn: 163902
      5485acd4
  5. Aug 17, 2012
    • Bill Wendling's avatar
      Change the `linker_private_weak_def_auto' linkage to `linkonce_odr_auto_hide' to · 34bc34ec
      Bill Wendling authored
      make it more consistent with its intended semantics.
      
      The `linker_private_weak_def_auto' linkage type was meant to automatically hide
      globals which never had their addresses taken. It has nothing to do with the
      `linker_private' linkage type, which outputs the symbols with a `l' (ell) prefix
      among other things.
      
      The intended semantic is more like the `linkonce_odr' linkage type.
      
      Change the name of the linkage type to `linkonce_odr_auto_hide'. And therefore
      changing the semantics so that it produces the correct output for the linker.
      
      Note: The old linkage name `linker_private_weak_def_auto' will still parse but
      is not a synonym for `linkonce_odr_auto_hide'. This should be removed in 4.0.
      <rdar://problem/11754934>
      
      llvm-svn: 162114
      34bc34ec
  6. Apr 07, 2012
    • Alexis Hunt's avatar
      Output UTF-8-encoded characters as identifier characters into assembly · 0235f684
      Alexis Hunt authored
      by default.
      
      This is a behaviour configurable in the MCAsmInfo. I've decided to turn
      it on by default in (possibly optimistic) hopes that most assemblers are
      reasonably sane. If this proves a problem, switching to default seems
      reasonable.
      
      I'm not sure if this is the opportune place to test, but it seemed good
      to make sure it was tested somewhere.
      
      llvm-svn: 154235
      0235f684
  7. Jul 18, 2011
  8. Feb 11, 2011
  9. Aug 21, 2010
    • Bill Wendling's avatar
      Create the new linker type "linker_private_weak_def_auto". · 578ee407
      Bill Wendling authored
      It's similar to "linker_private_weak", but it's known that the address of the
      object is not taken. For instance, functions that had an inline definition, but
      the compiler decided not to inline it. Note, unlike linker_private and
      linker_private_weak, linker_private_weak_def_auto may have only default
      visibility.  The symbols are removed by the linker from the final linked image
      (executable or dynamic library).
      
      llvm-svn: 111684
      578ee407
  10. Jul 01, 2010
    • Bill Wendling's avatar
      Implement the "linker_private_weak" linkage type. This will be used for · 03bcd6ec
      Bill Wendling authored
      Objective-C metadata types which should be marked as "weak", but which the
      linker will remove upon final linkage. However, this linkage isn't specific to
      Objective-C.
      
      For example, the "objc_msgSend_fixup_alloc" symbol is defined like this:
      
            .globl l_objc_msgSend_fixup_alloc
            .weak_definition l_objc_msgSend_fixup_alloc
            .section __DATA, __objc_msgrefs, coalesced
            .align 3
      l_objc_msgSend_fixup_alloc:
             .quad   _objc_msgSend_fixup
             .quad   L_OBJC_METH_VAR_NAME_1
      
      This is different from the "linker_private" linkage type, because it can't have
      the metadata defined with ".weak_definition".
      
      Currently only supported on Darwin platforms.
      
      llvm-svn: 107433
      03bcd6ec
  11. Jun 30, 2010
  12. Jun 29, 2010
    • Bill Wendling's avatar
      Introducing the "linker_weak" linkage type. This will be used for Objective-C · 1767723d
      Bill Wendling authored
      metadata types which should be marked as "weak", but which the linker will
      remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is
      defined like this:
      
             .globl l_objc_msgSend_fixup_alloc
             .weak_definition l_objc_msgSend_fixup_alloc
             .section __DATA, __objc_msgrefs, coalesced
             .align 3
      l_objc_msgSend_fixup_alloc:
              .quad   _objc_msgSend_fixup
              .quad   L_OBJC_METH_VAR_NAME_1
      
      This is different from the "linker_private" linkage type, because it can't have
      the metadata defined with ".weak_definition".
      
      llvm-svn: 107205
      1767723d
  13. Apr 29, 2010
  14. Mar 30, 2010
  15. Mar 12, 2010
  16. Jan 17, 2010
  17. Jan 16, 2010
  18. Jan 13, 2010
  19. Sep 21, 2009
  20. Sep 18, 2009
  21. Sep 13, 2009
  22. Sep 11, 2009
  23. Aug 18, 2009
  24. Jul 22, 2009
Loading