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_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTDARWINCONSTANTS_H |
10 | #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_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_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTDARWINCONSTANTS_H |
26 | |