diff options
Diffstat (limited to 'src/libc++')
-rw-r--r-- | src/libc++/builtins.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libc++/builtins.C b/src/libc++/builtins.C index 66eae1092..c2fffa816 100644 --- a/src/libc++/builtins.C +++ b/src/libc++/builtins.C @@ -76,4 +76,10 @@ extern "C" int __cxa_atexit(void (*)(void*), void*, void*) return 0; } +extern "C" void __cxa_pure_virtual() +{ + // TODO: Add better code for invalid pure virtual call. + while(1); +} + void* __dso_handle = (void*) &__dso_handle; |