Skip to content
  1. Nov 18, 2010
  2. Nov 17, 2010
  3. 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
  4. Nov 10, 2010
  5. Nov 09, 2010
  6. Nov 08, 2010
  7. Nov 07, 2010
  8. Nov 04, 2010
  9. Nov 03, 2010
  10. Nov 02, 2010
  11. Oct 29, 2010
  12. 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
    • Mikhail Glushenkov's avatar
      Reindent. · 080d86fe
      Mikhail Glushenkov authored
      llvm-svn: 117538
      080d86fe
  13. Oct 27, 2010
Loading