[libcxx-commits] [PATCH] D75795: [libc++abi] Change __cxa_finalize return type to void
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 14 17:09:23 PDT 2020
ldionne updated this revision to Diff 291739.
ldionne added a comment.
Change __cxa_atexit back to returning int
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75795/new/
https://reviews.llvm.org/D75795
Files:
libcxxabi/include/cxxabi.h
Index: libcxxabi/include/cxxabi.h
===================================================================
--- libcxxabi/include/cxxabi.h
+++ libcxxabi/include/cxxabi.h
@@ -137,9 +137,9 @@
void (*destructor)(void *));
// 3.3.5.3 Runtime API
-extern _LIBCXXABI_FUNC_VIS int __cxa_atexit(void (*f)(void *), void *p,
- void *d);
-extern _LIBCXXABI_FUNC_VIS int __cxa_finalize(void *);
+// These functions are part of the C++ ABI, but they are not defined in libc++abi:
+// int __cxa_atexit(void (*)(void *), void *, void *);
+// void __cxa_finalize(void *);
// 3.4 Demangler API
extern _LIBCXXABI_FUNC_VIS char *__cxa_demangle(const char *mangled_name,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75795.291739.patch
Type: text/x-patch
Size: 718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200915/f529e8bb/attachment.bin>
More information about the libcxx-commits
mailing list