1 //===-- RegisterContextDarwinConstants.h ------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTDARWINCONSTANTS_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTDARWINCONSTANTS_H
12 namespace lldb_private
{
14 /// Constants returned by various RegisterContextDarwin_*** functions.
16 #define KERN_SUCCESS 0
19 #ifndef KERN_INVALID_ARGUMENT
20 #define KERN_INVALID_ARGUMENT 4
23 } // namespace lldb_private
25 #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTDARWINCONSTANTS_H