summaryrefslogtreecommitdiff
path: root/source/Plugins/Process/Utility/RegisterContextDarwinConstants.h
blob: ef40162984f120564217ca1d35a3139beef11797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===-- RegisterContextDarwinConstants.h ------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLDB_REGISTERCONTEXTDARWINCONSTANTS_H
#define LLDB_REGISTERCONTEXTDARWINCONSTANTS_H

namespace lldb_private {

/// Constants returned by various RegisterContextDarwin_*** functions.
#ifndef KERN_SUCCESS
#define KERN_SUCCESS 0
#endif

#ifndef KERN_INVALID_ARGUMENT
#define KERN_INVALID_ARGUMENT 4
#endif

} // namespace lldb_private

#endif // LLDB_REGISTERCONTEXTDARWINCONSTANTS_H