xref: /freebsd/contrib/libcxxrt/terminate.cc (revision 70e0bbedef95258a4dadc996d641a9bebd3f107d)
1 #include <stdlib.h>
2 
3 namespace std
4 {
5 	/**
6 	 * Stub implementation of std::terminate.  Used when the STL implementation
7 	 * doesn't provide one.
8 	 */
9 	__attribute__((weak))
10 	void terminate()
11 	{
12 		abort();
13 	}
14 }
15