xref: /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/eh_term_handler.cc (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
11debfc3dSmrg // -*- C++ -*- std::terminate handler
2*8feb0f0bSmrg // Copyright (C) 2002-2020 Free Software Foundation, Inc.
31debfc3dSmrg //
41debfc3dSmrg // This file is part of GCC.
51debfc3dSmrg //
61debfc3dSmrg // GCC is free software; you can redistribute it and/or modify
71debfc3dSmrg // it under the terms of the GNU General Public License as published by
81debfc3dSmrg // the Free Software Foundation; either version 3, or (at your option)
91debfc3dSmrg // any later version.
101debfc3dSmrg //
111debfc3dSmrg // GCC is distributed in the hope that it will be useful,
121debfc3dSmrg // but WITHOUT ANY WARRANTY; without even the implied warranty of
131debfc3dSmrg // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
141debfc3dSmrg // GNU General Public License for more details.
151debfc3dSmrg //
161debfc3dSmrg // Under Section 7 of GPL version 3, you are granted additional
171debfc3dSmrg // permissions described in the GCC Runtime Library Exception, version
181debfc3dSmrg // 3.1, as published by the Free Software Foundation.
191debfc3dSmrg 
201debfc3dSmrg // You should have received a copy of the GNU General Public License and
211debfc3dSmrg // a copy of the GCC Runtime Library Exception along with this program;
221debfc3dSmrg // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
231debfc3dSmrg // <http://www.gnu.org/licenses/>.
241debfc3dSmrg 
251debfc3dSmrg #include <bits/c++config.h>
261debfc3dSmrg #include "unwind-cxx.h"
27c0a68be4Smrg #include "eh_term_handler.h"
281debfc3dSmrg 
291debfc3dSmrg /* The current installed user handler.  */
301debfc3dSmrg std::terminate_handler __cxxabiv1::__terminate_handler =
31c0a68be4Smrg 	_GLIBCXX_DEFAULT_TERM_HANDLER;
32