Skip to content
  1. 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
  2. Jul 18, 2011
  3. Feb 11, 2011
  4. 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
  5. 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
  6. Jun 30, 2010
  7. 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
  8. Apr 29, 2010
  9. Mar 30, 2010
  10. Mar 12, 2010
  11. Jan 17, 2010
  12. Jan 16, 2010
  13. Jan 13, 2010
  14. Sep 21, 2009
  15. Sep 18, 2009
  16. Sep 13, 2009
  17. Sep 11, 2009
  18. Aug 18, 2009
  19. Jul 22, 2009
  20. Jul 20, 2009
  21. Jul 15, 2009
  22. Jul 14, 2009
    • Chris Lattner's avatar
      Reapply my previous asmprinter changes now with more testing and two · 8c9a96b9
      Chris Lattner authored
      additional bug fixes:
      
      1. The bug that everyone hit was a problem in the asmprinter where it
         would remove $stub but keep the L prefix on a name when emitting the
         indirect symbol.  This is easy to fix by keeping the name of the stub
         and the name of the symbol in a StringMap instead of just keeping a
         StringSet and trying to reconstruct it late.
      
      2. There was a problem printing the personality function.  The current
         logic to print out the personality function from the DWARF information
         is a bit of a cesspool right now that duplicates a bunch of other 
         logic in the asm printer.  The short version of it is that it depends
         on emitting both the L and _ prefix for symbols (at least on darwin)
         and until I can untangle it, it is best to switch the mangler back to
         emitting both prefixes.
      
      llvm-svn: 75646
      8c9a96b9
    • Daniel Dunbar's avatar
      Revert r75610 (and r75620, which was blocking the revert), in the hopes of · 966932cc
      Daniel Dunbar authored
      unbreaking llvm-gcc (on Darwin).
      
      --- Reverse-merging r75620 into '.':
      U    include/llvm/Support/Mangler.h
      --- Reverse-merging r75610 into '.':
      U    test/CodeGen/X86/loop-hoist.ll
      G    include/llvm/Support/Mangler.h
      U    lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
      U    lib/VMCore/Mangler.cpp
      
      llvm-svn: 75636
      966932cc
Loading