Skip to content
  1. Oct 29, 2013
  2. Oct 28, 2013
  3. Oct 25, 2013
  4. Oct 24, 2013
  5. Oct 22, 2013
  6. Oct 21, 2013
  7. Oct 18, 2013
  8. Oct 17, 2013
  9. Oct 16, 2013
    • David Blaikie's avatar
      DIEHash: Include the trailing zero byte after the children of a DIE · 71a0ad66
      David Blaikie authored
      llvm-svn: 192836
      71a0ad66
    • Rafael Espindola's avatar
      Fix MCDataAtom never calling remap when adding data. · bab2afbf
      Rafael Espindola authored
      This patch fixes a small mistake in MCDataAtom::addData() where it doesn't ever
      call remap():
      
      -  if (Data.size() > Begin - End - 1)
      +  if (Data.size() > End + 1 - Begin)
           remap(Begin, End + 1);
      
      This is currently not visible because of another bug is the disassembler, so
      the patch includes a unit test.
      
      Patch by Stephen Checkoway.
      
      llvm-svn: 192823
      bab2afbf
    • Rafael Espindola's avatar
      Assert on duplicate registration. Don't depend on function pointer equality. · 40a3d018
      Rafael Espindola authored
      Before this patch we would assert when building llvm as multiple shared
      libraries (cmake's BUILD_SHARED_LIBS). The problem was the line
      
      if (T.AsmStreamerCtorFn == Target::createDefaultAsmStreamer)
      
      which returns false because of -fvisibility-inlines-hidden. It is easy
      to fix just this one case, but I decided to try to also make the
      registration more strict. It looks like the old logic for ignoring
      followup registration was just a temporary hack that outlived its
      usefulness.
      
      This patch converts the ifs to asserts, fixes the few cases that were
      registering twice and makes sure all the asserts compare with null.
      
      Thanks for Joerg for reporting the problem and reviewing the patch.
      
      llvm-svn: 192803
      40a3d018
    • David Blaikie's avatar
      Use ASSERT_EQ rather than ASSERT_TRUE for better unit test failures. · 59804193
      David Blaikie authored
      Also minor using namespace move so it's not hard-up against the function
      definition and outside the namespace as is usual.
      
      llvm-svn: 192744
      59804193
  10. Oct 05, 2013
  11. Oct 02, 2013
    • Tim Northover's avatar
      MCJIT: skip some more new multi-module tests on unsupported platforms. · 39ddb3f9
      Tim Northover authored
      This should fix the i386 Darwin build-bot.
      
      llvm-svn: 191840
      39ddb3f9
    • Filip Pizlo's avatar
      This threads SectionName through the allocateCodeSection/allocateDataSection... · 7aa695e0
      Filip Pizlo authored
      This threads SectionName through the allocateCodeSection/allocateDataSection APIs, both in C++ and C land.  
      It's useful for the memory managers that are allocating a section to know what the name of the section is.  
      At a minimum, this is useful for low-level debugging - it's customary for JITs to be able to tell you what 
      memory they allocated, and as part of any such dump, they should be able to tell you some meta-data about 
      what each allocation is for.  This allows clients that supply their own memory managers to do this.  
      Additionally, we also envision the SectionName being useful for passing meta-data from within LLVM to an LLVM 
      client.
      
      This changes both the C and C++ APIs, and all of the clients of those APIs within LLVM.  I'm assuming that 
      it's safe to change the C++ API because that API is allowed to change.  I'm assuming that it's safe to change 
      the C API because we haven't shipped the API in a release yet (LLVM 3.3 doesn't include the MCJIT memory 
      management C API).
      
      llvm-svn: 191804
      7aa695e0
  12. Oct 01, 2013
    • Tareq A. Siraj's avatar
      Add non-blocking Wait() for launched processes · d88b9832
      Tareq A. Siraj authored
      - New ProcessInfo class to encapsulate information about child processes.
      - Generalized the Wait() to support non-blocking wait on child processes.
      - ExecuteNoWait() now returns a ProcessInfo object with information about
        the launched child. Users will be able to use this object to
        perform non-blocking wait.
      - ExecuteNoWait() now accepts an ExecutionFailed param that tells if execution
        failed or not.
      
      These changes will allow users to implement basic process parallel
      tools.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1728
      
      llvm-svn: 191763
      d88b9832
    • Andrew Kaylor's avatar
      Tests for MCJIT multiple module support · 6bbb2c9f
      Andrew Kaylor authored
      llvm-svn: 191723
      6bbb2c9f
  13. Sep 30, 2013
  14. Sep 29, 2013
  15. Sep 27, 2013
  16. Sep 20, 2013
  17. Sep 11, 2013
Loading