[all-commits] [llvm/llvm-project] bde512: [libc] Provide 'signal.h' header for the GPU (#101...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Aug 5 12:52:35 PDT 2024


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

  Changed paths:
    M libc/config/gpu/headers.txt
    M libc/include/llvm-libc-macros/gpu/CMakeLists.txt
    A libc/include/llvm-libc-macros/gpu/signal-macros.h
    M libc/include/llvm-libc-macros/signal-macros.h
    M libc/include/llvm-libc-types/struct_sigaction.h

  Log Message:
  -----------
  [libc] Provide 'signal.h' header for the GPU (#101996)

Summary:
This header is practically useless, but we provide it mostly for the
macros so that applications can compile. I'm only doing this for the
`libc++` unittests that want it, and it is part of the C standard
technically. I just made an RPC call to do `raise`. Anything more isn't
going to work since it'd be way too annoying to make the CPU call into
some signal handler the GPU registered.



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