[libunwind][Modules] Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module)

Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module and use angle includes to include them.

Reviewed By: ldionne, #libunwind

Differential Revision: https://reviews.llvm.org/D144323
This commit is contained in:
Ian Anderson 2023-01-31 00:56:27 -08:00
parent 99047c0501
commit 1187d8a62b
2 changed files with 5 additions and 2 deletions

View File

@ -6,5 +6,8 @@ module libunwind [system] {
module unwind [system] { module unwind [system] {
header "__libunwind_config.h" header "__libunwind_config.h"
header "unwind.h" header "unwind.h"
private textual header "unwind_arm_ehabi.h"
private textual header "unwind_itanium.h"
export * export *
} }

View File

@ -56,9 +56,9 @@ typedef enum {
typedef struct _Unwind_Context _Unwind_Context; // opaque typedef struct _Unwind_Context _Unwind_Context; // opaque
#if defined(_LIBUNWIND_ARM_EHABI) #if defined(_LIBUNWIND_ARM_EHABI)
#include "unwind_arm_ehabi.h" #include <unwind_arm_ehabi.h>
#else #else
#include "unwind_itanium.h" #include <unwind_itanium.h>
#endif #endif
typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn) typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn)