[all-commits] [llvm/llvm-project] 86475a: [lldb] Fix incorrect return value on error paths i...

satyanarayana reddy janga via All-commits all-commits at lists.llvm.org
Thu Mar 26 13:06:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86475afa7d5c9965878ef93b5bc2d0c644152a23
      https://github.com/llvm/llvm-project/commit/86475afa7d5c9965878ef93b5bc2d0c644152a23
  Author: satyanarayana reddy janga <satyajanga at fb.com>
  Date:   2026-03-26 (Thu, 26 Mar 2026)

  Changed paths:
    M lldb/source/Host/common/FileCache.cpp

  Log Message:
  -----------
  [lldb] Fix incorrect return value on error paths in FileCache (#188608)

WriteFile and ReadFile return uint64_t with UINT64_MAX as the error
sentinel, but two error paths incorrectly returned false (0), which
could be mistaken for a successful zero-byte operation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list