Skip to content
  1. Nov 16, 2010
    • Michael J. Spencer's avatar
      This is the first step in adding sane error handling support to LLVMSystem. · 5ed2428b
      Michael J. Spencer authored
      The system API's will be shifted over to returning an error_code, and returning
      other return values as out parameters to the function.
      
      Code that needs to check error conditions will use the errc enum values which
      are the same as the posix_errno defines (EBADF, E2BIG, etc...), and are
      compatable with the error codes in WinError.h due to some magic in system_error.
      
      An example would be:
      
      if (error_code ec = KillEvil("Java")) { // error_code can be converted to bool.
        handle_error(ec);
      }
      
      llvm-svn: 119360
      5ed2428b
  2. Nov 07, 2010
  3. Nov 03, 2010
  4. Nov 02, 2010
  5. Oct 29, 2010
  6. Oct 28, 2010
    • Dan Gohman's avatar
      Revert r117582, which reverted r77396. Searching PATH for a string · 47215f4e
      Dan Gohman authored
      which contains slashes is inconsistent with the meaning of PATH on
      Unix-type platforms, and pretty surprising.
      
      If the user has given a specific path to execute and we can't
      execute it, we should fail and say why.  (Apparently the new
      posix_spawn code doesn't always say why, but that's a separate
      issue.)
      
      llvm-svn: 117596
      47215f4e
    • Mikhail Glushenkov's avatar
      Revert r77396. · d7faab5c
      Mikhail Glushenkov authored
      Original commit message:
      
          On "Unix", if Program::FindProgramByName is given a name containing
          slashes, just go with it, regardless of whether it looks like it will
          be executable. This follows the behavior of sh(1) more closely.
      
      It's better when behaviour is consistent between platforms. This change also
      makes FindExecutable() behave as expected on unix-likes (before this commit, it
      used to always succeed).
      
      llvm-svn: 117582
      d7faab5c
    • Mikhail Glushenkov's avatar
      Trailing whitespace. · 0e9d9b51
      Mikhail Glushenkov authored
      llvm-svn: 117581
      0e9d9b51
  7. Oct 08, 2010
  8. Oct 01, 2010
  9. Sep 22, 2010
  10. Sep 07, 2010
  11. Sep 02, 2010
  12. Sep 01, 2010
  13. Aug 20, 2010
  14. Aug 04, 2010
  15. Jul 29, 2010
  16. Jul 14, 2010
  17. Jul 12, 2010
  18. Jul 07, 2010
  19. May 28, 2010
  20. May 27, 2010
  21. May 08, 2010
  22. Apr 19, 2010
Loading