[all-commits] [llvm/llvm-project] 8c6a6f: [libc] Make RPC malloc implementation return 'null...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Aug 6 09:04:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c6a6f1a707af5bd1afd79d8aa62570b7091801a
      https://github.com/llvm/llvm-project/commit/8c6a6f1a707af5bd1afd79d8aa62570b7091801a
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-08-06 (Tue, 06 Aug 2024)

  Changed paths:
    M libc/utils/gpu/loader/amdgpu/amdhsa-loader.cpp
    M libc/utils/gpu/loader/nvptx/nvptx-loader.cpp

  Log Message:
  -----------
  [libc] Make RPC malloc implementation return 'nullptr' on alloc failure

Summary:
`malloc` is supposed to return `nullptr` if it fails, not exit with an
error code.



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