Skip to content
  1. Jun 13, 2013
  2. Jun 12, 2013
    • Rafael Espindola's avatar
      Remove the program class. · cb2eca0f
      Rafael Espindola authored
      It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just
      those two functions and make Execute and Wait implementations details.
      
      llvm-svn: 183864
      cb2eca0f
    • Rafael Espindola's avatar
      Move PathV2.h to Path.h · 3bc8e719
      Rafael Espindola authored
      Most clients have already been moved from Path V1 to V2. The ones using V1
      now include PathV1.h explicitly.
      
      llvm-svn: 183801
      3bc8e719
  3. Jun 08, 2013
  4. Jun 07, 2013
  5. Jun 04, 2013
    • Michael Gottesman's avatar
      IEEE-754R 5.7.2 General Operations is* operations (except for isCanonical). · 3acedb63
      Michael Gottesman authored
      Specifically the following work was done:
      
      1. If the operation was not implemented, I implemented it.
      
      2. If the operation was already implemented, I just moved its location
      in the APFloat header into the IEEE-754R 5.7.2 section. If the name was
      incorrect, I put in a comment giving the true IEEE-754R name.
      
      Also unittests have been added for all of the functions which did not
      already have a unittest.
      
      llvm-svn: 183179
      3acedb63
  6. Jun 02, 2013
  7. Jun 01, 2013
  8. May 31, 2013
  9. May 30, 2013
  10. May 28, 2013
  11. May 25, 2013
  12. May 24, 2013
  13. May 22, 2013
  14. May 21, 2013
    • Filip Pizlo's avatar
      Roll out r182407 and r182408 because they broke builds. · 5aefb133
      Filip Pizlo authored
      llvm-svn: 182409
      5aefb133
    • Filip Pizlo's avatar
      Expose the RTDyldMemoryManager through the C API. This allows clients of · e1e3f7cc
      Filip Pizlo authored
      the C API to provide their own way of allocating JIT memory (both code 
      and data) and finalizing memory permissions (page protections, cache 
      flush).
      
      llvm-svn: 182408
      e1e3f7cc
    • Ulrich Weigand's avatar
      · 7c81c7c6
      Ulrich Weigand authored
      Alternative fix for problem addressed in r182233
      
      Revision r182233 partially reverted the change in r181200 to simplify
      JIT unif test #ifdefs, because that change caused a link error on some
      host operating systems where the export list requires the following
      symbols to be defined:
      
       JITTest_AvailableExternallyFunction
       JITTest_AvailableExternallyGlobal
      
      As discussed on the list, the commit reverts r182233 (and re-installs
      the full r181200 change), and instead fixes the link problem by moving
      those two symbols to the top of the file and unconditionally defining
      them.
      
      llvm-svn: 182367
      7c81c7c6
  15. May 20, 2013
    • Bob Wilson's avatar
      Partially revert change in r181200 that tried to simplify JIT unit test #ifdefs. · 29699c63
      Bob Wilson authored
      The export list for this test requires the following symbols to be available:
        JITTest_AvailableExternallyFunction
        JITTest_AvailableExternallyGlobal
      The change in r181200 commented them out, which caused the test to fail to
      link, at least on Darwin. I have only reverted the change for arm, since I
      can't test the other targets and since it sounds like that change was fixing
      real problems for those other targets. It should be possible to rearrange the
      code to keep those definitions outside the #ifdefs, but that should be done by
      someone who can reproduce the problems that r181200 was trying to fix.
      
      llvm-svn: 182233
      29699c63
  16. May 19, 2013
  17. May 17, 2013
  18. May 15, 2013
    • David Blaikie's avatar
      Use only explicit bool conversion operators · 041f1aa3
      David Blaikie authored
      BitVector/SmallBitVector::reference::operator bool remain implicit since
      they model more exactly a bool, rather than something else that can be
      boolean tested.
      
      The most common (non-buggy) case are where such objects are used as
      return expressions in bool-returning functions or as boolean function
      arguments. In those cases I've used (& added if necessary) a named
      function to provide the equivalent (or sometimes negative, depending on
      convenient wording) test.
      
      One behavior change (YAMLParser) was made, though no test case is
      included as I'm not sure how to reach that code path. Essentially any
      comparison of llvm::yaml::document_iterators would be invalid if neither
      iterator was at the end.
      
      This helped uncover a couple of bugs in Clang - test cases provided for
      those in a separate commit along with similar changes to `operator bool`
      instances in Clang.
      
      llvm-svn: 181868
      041f1aa3
  19. May 14, 2013
    • Filip Pizlo's avatar
      SectionMemoryManager shouldn't be a JITMemoryManager. Previously, the · 9bc53e84
      Filip Pizlo authored
      EngineBuilder interface required a JITMemoryManager even if it was being used 
      to construct an MCJIT. But the MCJIT actually wants a RTDyldMemoryManager. 
      Consequently, the SectionMemoryManager, which is meant for MCJIT, derived 
      from the JITMemoryManager and then stubbed out a bunch of JITMemoryManager 
      methods that weren't relevant to the MCJIT.
      
      This patch fixes the situation: it teaches the EngineBuilder that 
      RTDyldMemoryManager is a supertype of JITMemoryManager, and that it's 
      appropriate to pass a RTDyldMemoryManager instead of a JITMemoryManager if 
      we're using the MCJIT. This allows us to remove the stub methods from 
      SectionMemoryManager, and make SectionMemoryManager a direct subtype of 
      RTDyldMemoryManager.
      
      llvm-svn: 181820
      9bc53e84
    • Duncan Sands's avatar
      Get the unittests compiling when building with cmake and the setting · b33790d8
      Duncan Sands authored
      -DLLVM_ENABLE_THREADS=false.
      
      llvm-svn: 181788
      b33790d8
  20. May 13, 2013
  21. May 10, 2013
    • Andrew Kaylor's avatar
      Fix MCJITCAPITest.cpp unit test on Windows. · b3a25fa5
      Andrew Kaylor authored
      MCJIT on Windows requires an explicit target triple with "-elf" appended to generate objects in ELF format.  The common test framework was setting up this triple, but it wasn't passed to the C API in the test.
      
      llvm-svn: 181614
      b3a25fa5
  22. May 07, 2013
  23. May 06, 2013
    • Andrew Trick's avatar
      Implemented public interface for modifying registered (not positional or sink... · 7cb710d5
      Andrew Trick authored
      Implemented public interface for modifying registered (not positional or sink options) command line options at runtime.
      
      Patch by Dan Liew!
      
      llvm-svn: 181254
      7cb710d5
    • Andrew Trick's avatar
      Support command line option categories. · 0537a988
      Andrew Trick authored
      Patch by Dan Liew!
      
      llvm-svn: 181253
      0537a988
    • Ulrich Weigand's avatar
      · 80435baa
      Ulrich Weigand authored
      [SystemZ] Set up JIT/MCJIT test cases
      
      This patch adds the necessary configuration bits and #ifdef's to set up
      the JIT/MCJIT test cases for SystemZ.  Like other recent targets, we do
      fully support MCJIT, but do not support the old JIT at all.  Set up the
      lit config files accordingly, and disable old-JIT unit tests.
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181207
      80435baa
Loading