[all-commits] [llvm/llvm-project] be0c67: [libc] Remove dependency on `cpp::function` in `rp...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Oct 15 12:31:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be0c67c90e045b03b0ffecc06ca6f93e440f48d8
      https://github.com/llvm/llvm-project/commit/be0c67c90e045b03b0ffecc06ca6f93e440f48d8
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M libc/src/__support/GPU/allocator.cpp
    M libc/src/__support/OSUtil/gpu/exit.cpp
    M libc/src/__support/OSUtil/gpu/io.cpp
    M libc/src/__support/RPC/rpc.h
    M libc/src/gpu/rpc_host_call.cpp
    M libc/src/stdio/gpu/clearerr.cpp
    M libc/src/stdio/gpu/fclose.cpp
    M libc/src/stdio/gpu/feof.cpp
    M libc/src/stdio/gpu/ferror.cpp
    M libc/src/stdio/gpu/fflush.cpp
    M libc/src/stdio/gpu/fgets.cpp
    M libc/src/stdio/gpu/file.h
    M libc/src/stdio/gpu/fopen.cpp
    M libc/src/stdio/gpu/fseek.cpp
    M libc/src/stdio/gpu/ftell.cpp
    M libc/src/stdio/gpu/remove.cpp
    M libc/src/stdio/gpu/rename.cpp
    M libc/src/stdio/gpu/ungetc.cpp
    M libc/src/stdio/gpu/vfprintf_utils.h
    M libc/src/stdlib/gpu/abort.cpp
    M libc/src/stdlib/gpu/system.cpp
    M libc/utils/gpu/server/rpc_server.cpp

  Log Message:
  -----------
  [libc] Remove dependency on `cpp::function` in `rpc.h` (#112422)

Summary:
I'm going to attempt to move the `rpc.h` header to a separate folder
that we can install and include outside of `libc`. Before doing this I'm
going to try to trim up the file so there's not as many things I need to
copy to make it work. This dependency on `cpp::functional` is a low
hanging fruit. I only did it so that I could overload the argument of
the work function so that passing the id was optional in the lambda,
that's not a *huge* deal and it makes it more explicit I suppose.



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