Skip to content
  1. 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
  2. Jun 30, 2010
  3. 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
  4. Apr 30, 2010
  5. Apr 28, 2010
  6. Apr 12, 2010
  7. Apr 10, 2010
  8. Apr 09, 2010
  9. Apr 08, 2010
    • Sean Callanan's avatar
      Added support for ARM disassembly to edis. · 03549ee5
      Sean Callanan authored
      I also added a rule to the ARM target's Makefile to
      build the ARM-specific instruction information table
      for the enhanced disassembler.
      
      I will add the test harness for all this stuff in
      a separate commit.
      
      llvm-svn: 100735
      03549ee5
  10. Mar 12, 2010
  11. Mar 06, 2010
  12. Mar 04, 2010
  13. Mar 03, 2010
  14. Mar 02, 2010
  15. Feb 28, 2010
  16. Feb 16, 2010
  17. Feb 15, 2010
  18. Feb 12, 2010
  19. Feb 09, 2010
  20. Feb 06, 2010
    • Jakob Stoklund Olesen's avatar
      Reintroduce the InlineHint function attribute. · 74bb06c0
      Jakob Stoklund Olesen authored
      This time it's for real! I am going to hook this up in the frontends as well.
      
      The inliner has some experimental heuristics for dealing with the inline hint.
      When given a -respect-inlinehint option, functions marked with the inline
      keyword are given a threshold just above the default for -O3.
      
      We need some experiments to determine if that is the right thing to do.
      
      llvm-svn: 95466
      74bb06c0
  21. Feb 04, 2010
  22. Jan 28, 2010
  23. Jan 27, 2010
    • Jeffrey Yasskin's avatar
      Kill ModuleProvider and ghost linkage by inverting the relationship between · 091217be
      Jeffrey Yasskin authored
      Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
      GlobalValues now, and doesn't provide modules, it's renamed to
      "GVMaterializer". Code that used to need a ModuleProvider to materialize
      Functions can now materialize the Functions directly. Functions no longer use a
      magic linkage to record that they're materializable; they simply ask the
      GVMaterializer.
      
      Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
      the functions that refer to it. Instead, because Module now exposes the same
      functionality ModuleProvider used to, we store a Module* in any
      LLVMModuleProviderRef and translate in the wrapper methods.  The bindings to
      other languages still use the ModuleProvider concept.  It would probably be
      worth some time to update them to follow the C++ more closely, but I don't
      intend to do it.
      
      Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.
      
      llvm-svn: 94686
      091217be
  24. Jan 22, 2010
    • Chris Lattner's avatar
      Stop building RTTI information for *most* llvm libraries. Notable · 7ba0661f
      Chris Lattner authored
      missing ones are libsupport, libsystem and libvmcore.  libvmcore is
      currently blocked on bugpoint, which uses EH.  Once it stops using
      EH, we can switch it off.
      
      This #if 0's out 3 unit tests, because gtest requires RTTI information.
      Suggestions welcome on how to fix this.
      
      llvm-svn: 94164
      7ba0661f
  25. Jan 15, 2010
  26. Jan 10, 2010
  27. Jan 09, 2010
    • Chris Lattner's avatar
      "In order to ease automatic bindings generation, it would be helpful if... · 25963c61
      Chris Lattner authored
      "In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for."
      
      Patch by James Y Knight!
      
      llvm-svn: 93079
      25963c61
  28. Jan 05, 2010
    • Devang Patel's avatar
      Remove dead debug info intrinsics. · be94f239
      Devang Patel authored
       Intrinsic::dbg_stoppoint
       Intrinsic::dbg_region_start 
       Intrinsic::dbg_region_end 
       Intrinsic::dbg_func_start
      AutoUpgrade simply ignores these intrinsics now.
      
      llvm-svn: 92557
      be94f239
  29. Dec 21, 2009
  30. Nov 23, 2009
    • Duncan Sands's avatar
      I forgot to update the prototype for LLVMBuildIntCast when correcting · 9d786d70
      Duncan Sands authored
      the body to not pass the name for the isSigned parameter.  However it
      seems that changing prototypes is a big-no-no, so here I revert the
      previous change and pass "true" for isSigned, meaning this always does
      a signed cast, which was the previous behaviour assuming the name was
      not NULL!  Some other C function needs to be introduced for the general
      case of signed or unsigned casts.  This hopefully unbreaks the ocaml
      binding.
      
      llvm-svn: 89648
      9d786d70
  31. Nov 11, 2009
  32. Oct 27, 2009
    • Victor Hernandez's avatar
      Remove FreeInst. · de5ad42a
      Victor Hernandez authored
      Remove LowerAllocations pass.
      Update some more passes to treate free calls just like they were treating FreeInst.
      
      llvm-svn: 85176
      de5ad42a
Loading