//===-- AppleArm64ExceptionClass.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_TARGET_APPLEARM64EXCEPTIONCLASS_H #define LLDB_TARGET_APPLEARM64EXCEPTIONCLASS_H #include <cstdint> namespace lldb_private { enum class AppleArm64ExceptionClass : unsigned { … }; /// Get the Apple ARM64 exception class encoded within \p esr. inline AppleArm64ExceptionClass getAppleArm64ExceptionClass(uint32_t esr) { … } inline const char *toString(AppleArm64ExceptionClass EC) { … } } // namespace lldb_private #endif // LLDB_TARGET_APPLEARM64EXCEPTIONCLASS_H