FreeBSD Helgrind: turn off check for locks held on exit for FreeBSD 14.2
[valgrind.git] / coregrind / pub_core_extension.h
blob39fa4dd8bc3ee59079fabe8e7c7650412362cb6e
1 /*--------------------------------------------------------------------*/
2 /*--- Extensions pub_core_extension.h ---*/
3 /*--------------------------------------------------------------------*/
5 /*
6 This file is part of Valgrind, a dynamic binary instrumentation
7 framework.
9 Copyright (C) IBM Corp. 2024
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License as
13 published by the Free Software Foundation; either version 2 of the
14 License, or (at your option) any later version.
16 This program is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, see <http://www.gnu.org/licenses/>.
24 The GNU General Public License is contained in the file COPYING.
27 /* Contributed by Andreas Arnez */
29 #ifndef __PUB_CORE_EXTENSION_H
30 #define __PUB_CORE_EXTENSION_H
32 #include "pub_core_basics.h" // VG_ macro
34 //--------------------------------------------------------------------
35 // PURPOSE: This module contains the extension handling stuff
36 //--------------------------------------------------------------------
38 enum ExtensionError {
39 ExtErr_OK,
40 ExtErr_Illop,
43 extern enum ExtensionError VG_(client_extension) ( ThreadId tid );
45 #endif