[CodeView] Add pragma push/pop_macro for ARM64_FPSR to enum header
authorMartin Storsjo <martin@martin.st>
Sat, 21 Sep 2019 19:09:24 +0000 (19:09 +0000)
committerMartin Storsjo <martin@martin.st>
Sat, 21 Sep 2019 19:09:24 +0000 (19:09 +0000)
commit1bfdab52a76bf667aa345b5026f1d524ed6d4ac8
treefa795a7edb31284494d5920ed17d007169221a4b
parentcd629ea0a8ef55458e1a75a3ef8e43ad68974479
[CodeView] Add pragma push/pop_macro for ARM64_FPSR to enum header

This fixes (one aspect of) compilation of LLDB with MSVC for ARM64.

LLDB source files include intrin.h, and the MSVC intrin.h transitively
includes arm64intr.h, which has an ARM64_FPSR define, which clashes
with the enum declaration.

Differential Revision: https://reviews.llvm.org/D67864

llvm-svn: 372481
llvm/include/llvm/DebugInfo/CodeView/CodeViewRegisters.def