Skip to content
  1. Mar 04, 2014
  2. Mar 02, 2014
  3. Mar 01, 2014
  4. Feb 28, 2014
  5. Feb 26, 2014
  6. Feb 25, 2014
    • Rafael Espindola's avatar
      Fix resetting the DataLayout in a Module. · 248ac139
      Rafael Espindola authored
      No tool does this currently, but as everything else in a module we should be
      able to change its DataLayout.
      
      Most of the fix is in DataLayout to make sure it can be reset properly.
      
      The test uses Module::setDataLayout since the fact that we mutate a DataLayout
      is an implementation detail. The module could hold a OwningPtr<DataLayout> and
      the DataLayout itself could be immutable.
      
      Thanks to Philip Reames for pushing me in the right direction.
      
      llvm-svn: 202198
      248ac139
    • Rafael Espindola's avatar
      Make DataLayout a plain object, not a pass. · 93512512
      Rafael Espindola authored
      Instead, have a DataLayoutPass that holds one. This will allow parts of LLVM
      don't don't handle passes to also use DataLayout.
      
      llvm-svn: 202168
      93512512
    • Renato Golin's avatar
      Disable old JIT unittests for AARch64 · dd8c8018
      Renato Golin authored
      llvm-svn: 202127
      dd8c8018
  7. Feb 24, 2014
  8. Feb 23, 2014
    • Rafael Espindola's avatar
      Simplify remove, create_directory and create_directories. · 5c20ac01
      Rafael Espindola authored
      Before this patch they would take an boolean argument to say if the path
      already existed. This was redundant with the returned error_code which is able
      to represent that. This allowed for callers to incorrectly check only the
      existed flag instead of first checking the error code.
      
      Instead, pass in a boolean flag to say if the previous (non-)existence should be
      an error or not.
      
      Callers of the of the old simple versions are not affected. They still ignore
      the previous (non-)existence as they did before.
      
      llvm-svn: 201979
      5c20ac01
  9. Feb 22, 2014
    • Logan Chien's avatar
      Move get[S|U]LEB128Size() to LEB128.h. · 5b776b72
      Logan Chien authored
      This commit moves getSLEB128Size() and getULEB128Size() from
      MCAsmInfo to LEB128.h and removes some copy-and-paste code.
      
      Besides, this commit also adds some unit tests for the LEB128
      functions.
      
      llvm-svn: 201937
      5b776b72
  10. Feb 21, 2014
  11. Feb 20, 2014
  12. Feb 15, 2014
  13. Feb 13, 2014
  14. Feb 12, 2014
    • Lang Hames's avatar
      Extend RTDyld API to enable optionally precomputing the total amount of memory · 937ec549
      Lang Hames authored
      required for all sections in a module. This can be useful when targets or
      code-models place strict requirements on how sections must be laid out
      in memory.
      
      If RTDyldMemoryManger::needsToReserveAllocationSpace() is overridden to return
      true then the JIT will call the following method on the memory manager, which
      can be used to preallocate the necessary memory.
      
      void RTDyldMemoryManager::reserveAllocationSpace(uintptr_t CodeSize,
                                                       uintptr_t DataSizeRO,
                                                       uintptr_t DataSizeRW)
      
      Patch by Vaidas Gasiunas. Thanks very much Viadas!
      
      llvm-svn: 201259
      937ec549
Loading