This patch fixes build on lldb-x64-windows-ninja. The error is caused by
use of two leading underscores.
According to MSVC documentation:
In Microsoft C++, identifiers with two leading underscores are reserved
for compiler implementations.
https://docs.microsoft.com/en-us/cpp/cpp/keywords-cpp?view=vs-2019
#include <stdint.h>
-struct _aarch64_context {
+struct aarch64_context {
uint16_t magic;
uint16_t size;
};
#define SVE_MAGIC 0x53564501
struct sve_context {
- struct _aarch64_context head;
+ struct aarch64_context head;
uint16_t vl;
- uint16_t __reserved[3];
+ uint16_t reserved[3];
};
/*
uint16_t vl; /* current vector length */
uint16_t max_vl; /* maximum possible vector length */
uint16_t flags;
- uint16_t __reserved;
+ uint16_t reserved;
};
/* Definitions for user_sve_header.flags: */