[libcxx-commits] [PATCH] D142415: libcxx: Don't apply ABI tags to extern "C" fns

Arsenović Arsen via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 23 16:05:56 PST 2023


ArsenArsen created this revision.
Herald added a project: All.
ArsenArsen requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

GCC rejects ABI tags on non mangled functions, as they would otherwise
be a no-op.  This commit replaces such instances with equivalent
_LIBCPP_HIDE_FROM_ABI constants but without ABI tags attached.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142415

Files:
  libcxx/include/__config
  libcxx/include/__support/android/locale_bionic.h
  libcxx/include/__support/musl/xlocale.h
  libcxx/include/__support/openbsd/xlocale.h
  libcxx/include/__support/xlocale/__nop_locale_mgmt.h
  libcxx/include/__support/xlocale/__posix_l_fallback.h
  libcxx/include/__support/xlocale/__strtonum_fallback.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142415.491536.patch
Type: text/x-patch
Size: 15912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230124/34f5c3f8/attachment-0001.bin>


More information about the libcxx-commits mailing list