Index: llvm/include/llvm/DebugInfo/CodeView/CodeViewRegisters.def =================================================================== --- llvm/include/llvm/DebugInfo/CodeView/CodeViewRegisters.def +++ llvm/include/llvm/DebugInfo/CodeView/CodeViewRegisters.def @@ -489,6 +489,9 @@ #if defined(CV_REGISTERS_ALL) || defined(CV_REGISTERS_ARM64) +#pragma push_macro("ARM64_FPSR") +#undef ARM64_FPSR + // ARM64 registers CV_REGISTER(ARM64_NOREG, 0) @@ -677,4 +680,6 @@ CV_REGISTER(ARM64_FPSR, 220) +#pragma pop_macro("ARM64_FPSR") + #endif // defined(CV_REGISTERS_ALL) || defined(CV_REGISTERS_ARM64)