Skip to content
  1. May 07, 2013
  2. Mar 26, 2013
    • Chandler Carruth's avatar
      Manually update the dependencies in the Makefiles. It turns out that all · 60d7006e
      Chandler Carruth authored
      that work on the LLVMBuild based dependency specification didn't
      actually work, we just now maintain dependencies in *3* places instead
      of 2. Yay.
      
      There may still be some missing dependencies, I'm still sifting through
      the bots and my builds, but this is a step in the right direction.
      
      llvm-svn: 177988
      60d7006e
    • Chandler Carruth's avatar
      Split out the IRReader header and the utility functions it provides into · e60e57be
      Chandler Carruth authored
      its own library. These functions are bridging between the bitcode reader
      and the ll parser which are in different libraries. Previously we didn't
      have any good library to do this, and instead played fast and loose with
      a "header only" set of interfaces in the Support library. This really
      doesn't work well as evidenced by the recent attempt to add timing logic
      to the these routines.
      
      As part of this, make them normal functions rather than weird inline
      functions, and sink the implementation into the library. Also clean up
      the header to be nice and minimal.
      
      This requires updating lots of build system dependencies to specify that
      the IRReader library is needed, and several source files to not
      implicitly rely upon the header file to transitively include all manner
      of other headers.
      
      If you are using IRReader.h, this commit will break you (the header
      moved) and you'll need to also update your library usage to include
      'irreader'. I will commit the corresponding change to Clang momentarily.
      
      llvm-svn: 177971
      e60e57be
  3. Feb 26, 2013
    • Andrew Kaylor's avatar
      Provide workaround for PR 15130. · cf99fd57
      Andrew Kaylor authored
      This changes the RecordingMemoryManager in lli to use mapped memory rather than malloc to allocate memory for sections and uses a 'near' MemoryBlock to keep the allocations together.  This works around a problem in MCJIT where relocations are applied to a generated image immediately oupon generation, which isn't appropriate for the remote case.
      
      llvm-svn: 176057
      cf99fd57
  4. Jan 28, 2013
  5. Jan 24, 2013
  6. 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
  7. Dec 04, 2012
    • Chandler Carruth's avatar
      Sort the #include lines for tools/... · 4d88a1c2
      Chandler Carruth authored
      Again, tools are trickier to pick the main module header for than
      library source files. I've started to follow the pattern of using
      LLVMContext.h when it is included as a stub for program source files.
      
      llvm-svn: 169252
      4d88a1c2
  8. Nov 27, 2012
    • Andrew Kaylor's avatar
      Modifying lli to use the SectionMemoryManager. · 58365b9c
      Andrew Kaylor authored
      The functionality of SectionMemoryManager is equivalent to the LLIMCJITMemoryManager being replaced except that it allocates memory as RW and later changes it to RX or R as needed.  The page permissions are set in the call to MCJIT::finalizeObject.
      
      llvm-svn: 168722
      58365b9c
  9. Nov 18, 2012
  10. Nov 16, 2012
  11. Nov 05, 2012
    • Andrew Kaylor's avatar
      Add a method to indicate section address re-assignment is finished. · a714efc1
      Andrew Kaylor authored
      Prior to this patch RuntimeDyld attempted to re-apply relocations every time reassignSectionAddress was called (via MCJIT::mapSectionAddress).  In addition to being inefficient and redundant, this led to a problem when a section was temporarily moved too far away from another section with a relative relocation referencing the section being moved.  To fix this, I'm adding a new method (finalizeObject) which the client can call to indicate that it is finished rearranging section addresses so the relocations can safely be applied.
      
      llvm-svn: 167400
      a714efc1
    • Jim Grosbach's avatar
      lli: Initialize the native asm parser for inline assembly. · 2cce3f91
      Jim Grosbach authored
      MCJIT supports inline assembly, but requires the asm parser to do so.
      Make sure to link it in and initialize it.
      
      llvm-svn: 167392
      2cce3f91
  12. Nov 01, 2012
  13. Oct 31, 2012
  14. Oct 29, 2012
  15. Oct 12, 2012
  16. Oct 05, 2012
    • NAKAMURA Takumi's avatar
      lli: [MCJIT] Suppress "__main" for cygming in... · a549b51a
      NAKAMURA Takumi authored
      lli: [MCJIT] Suppress "__main" for cygming in LLIMCJITMemoryManager::getPointerToNamedFunction(), like legacy JITMemoryManager's.
      
      CRT's __main (aka premain) invokes global ctors on cygming. See also PR3897.
      
      llvm-svn: 165312
      a549b51a
  17. Sep 28, 2012
  18. Sep 20, 2012
  19. Sep 15, 2012
  20. Sep 07, 2012
  21. Sep 06, 2012
  22. Sep 05, 2012
  23. Aug 29, 2012
    • Jim Grosbach's avatar
      LLI: move instruction cache tweaks. · 748b9478
      Jim Grosbach authored
      Invalidate the instruction cache right before we start actually executing code, otherwise
      we can miss some that came later. This is still not quite right for a truly lazilly
      compiled environment, but it's closer.
      
      llvm-svn: 162803
      748b9478
  24. May 20, 2012
  25. May 19, 2012
  26. May 16, 2012
  27. Apr 29, 2012
  28. Apr 18, 2012
  29. Mar 13, 2012
  30. Jan 16, 2012
  31. Jan 11, 2012
  32. Dec 12, 2011
  33. Nov 11, 2011
  34. Oct 18, 2011
Loading