Add support for the Linux membarrier() system call
[valgrind.git] / coregrind / pub_core_libcsetjmp.h
blob91c6801917d9e7af723e5709e4fb4600ca031d12
2 /*--------------------------------------------------------------------*/
3 /*--- A minimal setjmp/longjmp facility. pub_core_libcsetjmp.h ---*/
4 /*--------------------------------------------------------------------*/
6 /*
7 This file is part of Valgrind, a dynamic binary instrumentation
8 framework.
10 Copyright (C) 2010-2017 Mozilla Inc
12 This program is free software; you can redistribute it and/or
13 modify it under the terms of the GNU General Public License as
14 published by the Free Software Foundation; either version 2 of the
15 License, or (at your option) any later version.
17 This program is distributed in the hope that it will be useful, but
18 WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
25 02111-1307, USA.
27 The GNU General Public License is contained in the file COPYING.
30 /* Contributed by Julian Seward <jseward@acm.org> */
32 #ifndef __PUB_CORE_LIBCSETJMP_H
33 #define __PUB_CORE_LIBCSETJMP_H
35 //--------------------------------------------------------------------
36 // PURPOSE: Provides a minimal setjmp/longjmp facility, that saves/
37 // restores integer registers, but not necessarily anything more.
38 //--------------------------------------------------------------------
40 // No core-only exports; everything in this module is visible to both
41 // the core and tools.
43 #include "pub_tool_libcsetjmp.h"
45 #endif // __PUB_CORE_LIBCSETJMP_H
47 /*--------------------------------------------------------------------*/
48 /*--- end pub_core_libcsetjmp.h ---*/
49 /*--------------------------------------------------------------------*/