Skip to content
  1. Aug 22, 2013
  2. Aug 16, 2013
  3. Aug 14, 2013
  4. Aug 12, 2013
  5. Aug 08, 2013
  6. Aug 07, 2013
  7. Aug 05, 2013
  8. Aug 01, 2013
  9. Jul 31, 2013
  10. Jul 30, 2013
  11. Jul 29, 2013
  12. Jul 25, 2013
  13. Jul 23, 2013
    • Eli Bendersky's avatar
      Refactor the unit test for MemoryBuffer::getOpenFileSlice · bb506fce
      Eli Bendersky authored
      Run in two different modes: with and without reopening the temporary file
      between creating it and mapping it with MemoryBuffer.
      
      llvm-svn: 186986
      bb506fce
    • Rafael Espindola's avatar
      Split getOpenFile into getOpenFile and getOpenFileSlice. · 3d2ac2e4
      Rafael Espindola authored
      The main observation is that we never need both the filesize and the map size.
      When mapping a slice of a file, it doesn't make sense to request a null
      terminator and that would be the only case where the filesize would be used.
      
      There are other cleanups that should be done in this area:
      
      * A client should not have to pass the size (even an explicit -1) to say if
        it wants a null terminator or not, so we should probably swap the argument
        order.
      * The default should be to not require a null terminator. Very few clients
        require this, but many end up asking for it just because it is the default.
      
      llvm-svn: 186984
      3d2ac2e4
    • Eli Bendersky's avatar
      Add a simple unit test for MemoryBuffer::getOpenFile · f288626c
      Eli Bendersky authored
      llvm-svn: 186887
      f288626c
  14. Jul 19, 2013
  15. Jul 18, 2013
    • Reid Kleckner's avatar
      [Support] Beef up and expose the response file parsing in llvm::cl · a73c7781
      Reid Kleckner authored
      The plan is to use it for clang and lld.
      
      Major behavior changes:
      - We can now parse UTF-16 files that have a byte order mark.
      - PR16209: Don't drop backslashes on the floor if they don't escape
        anything.
      
      The actual parsing loop was based on code from Clang's driver.cpp,
      although it's been rewritten to track its state with control flow rather
      than state variables.
      
      Reviewers: hans
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1170
      
      llvm-svn: 186587
      a73c7781
    • Rafael Espindola's avatar
      Remove dead code. · 213c4cb1
      Rafael Espindola authored
      llvm-svn: 186561
      213c4cb1
    • Rafael Espindola's avatar
      Fix a regression I introduced back in r178147. · 9ed1761a
      Rafael Espindola authored
      We don't want cast and dyn_cast to work on temporaries. They don't extend
      lifetime like a direct bind to a reference would, so they can introduce
      hard to find bugs.
      
      I added tests to make sure we don't regress this. Thanks to Eli Friedman for
      noticing this and for his suggestions on how to test it.
      
      llvm-svn: 186559
      9ed1761a
  16. Jul 16, 2013
  17. Jul 08, 2013
  18. Jul 06, 2013
  19. Jul 05, 2013
  20. Jun 28, 2013
  21. Jun 27, 2013
    • Rafael Espindola's avatar
      Add a convenience createUniqueDirectory function. · 7ffacc49
      Rafael Espindola authored
      There are a few valid situation where we care about the structure inside a
      directory, but not about the directory itself. A simple example is for unit
      testing directory traversal.
      
      PathV1 had a function like this, add one to V2 and port existing users of the
      created temp file and delete it hack to using it.
      
      llvm-svn: 185059
      7ffacc49
  22. Jun 26, 2013
  23. Jun 21, 2013
Loading