]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/source/Plugins/Process/Utility/RegisterContextDarwinConstants.h
Fix a memory leak in if_delgroups() introduced in r334118.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / source / Plugins / Process / Utility / RegisterContextDarwinConstants.h
1 //===-- RegisterContextDarwinConstants.h ------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 #ifndef LLDB_REGISTERCONTEXTDARWINCONSTANTS_H
10 #define LLDB_REGISTERCONTEXTDARWINCONSTANTS_H
11
12 namespace lldb_private {
13
14 /// Constants returned by various RegisterContextDarwin_*** functions.
15 #ifndef KERN_SUCCESS
16 #define KERN_SUCCESS 0
17 #endif
18
19 #ifndef KERN_INVALID_ARGUMENT
20 #define KERN_INVALID_ARGUMENT 4
21 #endif
22
23 } // namespace lldb_private
24
25 #endif // LLDB_REGISTERCONTEXTDARWINCONSTANTS_H