[all-commits] [llvm/llvm-project] 7ebd97: [OpenMP] Do not define '__assert_fail' if we have ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Jul 26 13:18:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ebd97b852b7535d22f93a90e7627853ffe7f0e1
      https://github.com/llvm/llvm-project/commit/7ebd97b852b7535d22f93a90e7627853ffe7f0e1
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M offload/DeviceRTL/src/Debug.cpp
    M offload/test/libc/assert.c

  Log Message:
  -----------
  [OpenMP] Do not define '__assert_fail' if we have the GPU libc (#100409)

Summary:
The C library is intended to provide `__assert_fail`, so in the cases
that we have both we should defer to that. This means that if you build
the C library for GPUs you'll get the RPC based asser, and if not you'll
get the trap based one.



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