llvm-project/libcxx/lib
Eric Fiselier d87b880e00 ABI: Fix for undefined "___cxa_deleted_virtual" symbol in MacOSX
Patch from Eddie Elizondo. Reviewed as D37830 (https://reviews.llvm.org/D37830).

On MacOSX the following program:

struct S { virtual void f() = delete; };
int main() { new S; }
Fails with the following error:

Undefined symbols for architecture x86_64:
  "___cxa_deleted_virtual"
This adds a fix to export the needed symbols.

Test:

> lit -sv test/libcxx/language.support/cxa_deleted_virtual.pass.cpp
> Testing Time: 0.21s
>   Expected Passes    : 1

llvm-svn: 313500
2017-09-17 20:59:43 +00:00
..
abi ABI: Fix for undefined "___cxa_deleted_virtual" symbol in MacOSX 2017-09-17 20:59:43 +00:00
CMakeLists.txt Use CMAKE_AR instead of the system default 'ar' for merging static libraries 2017-09-13 06:55:44 +00:00
libc++abi-new-delete.exp [libcxx] Fix check-cxx-abilist on OS X 2017-04-15 05:41:45 +00:00
libc++abi.exp ABI: Fix for undefined "___cxa_deleted_virtual" symbol in MacOSX 2017-09-17 20:59:43 +00:00
libc++abi2.exp ABI: Fix for undefined "___cxa_deleted_virtual" symbol in MacOSX 2017-09-17 20:59:43 +00:00
libc++sjlj-abi.exp ABI: Fix for undefined "___cxa_deleted_virtual" symbol in MacOSX 2017-09-17 20:59:43 +00:00
libc++unexp.exp
notweak.exp
weak.exp