[all-commits] [llvm/llvm-project] 565947: [libc++] Fix build failure with libdispatch backen...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed May 28 07:21:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56594710c7ffdaf82e07b1ff63f01226c117b2ce
      https://github.com/llvm/llvm-project/commit/56594710c7ffdaf82e07b1ff63f01226c117b2ce
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M libcxx/src/pstl/libdispatch.cpp

  Log Message:
  -----------
  [libc++] Fix build failure with libdispatch backend (#141606)

We get an error "cannot add 'abi_tag' attribute in a redeclaration"
because functions like `__dispatch_apply` are first declared without an
ABI tag due to `_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS` inside the
header, and then redeclared with an ABI tag in the .cpp file.



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