[all-commits] [llvm/llvm-project] f61f6f: [compiler-rt] [builtin] Switch the return type of ...

Kamil Rytarowski via All-commits all-commits at lists.llvm.org
Wed May 13 05:09:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f61f6ffe1126869b05a6f0b8fdee7b24c02d24f3
      https://github.com/llvm/llvm-project/commit/f61f6ffe1126869b05a6f0b8fdee7b24c02d24f3
  Author: Kamil Rytarowski <n54 at gmx.com>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M compiler-rt/lib/builtins/atomic.c

  Log Message:
  -----------
  [compiler-rt] [builtin] Switch the return type of __atomic_compare_exchange_##n to bool

Summary:
Synchronize the function definition with the LLVM documentation.

https://llvm.org/docs/Atomics.html#libcalls-atomic

GCC also returns bool for the same atomic builtin.

Reviewers: theraven

Reviewed By: theraven

Subscribers: theraven, dberris, jfb, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D79845




More information about the All-commits mailing list