[CodeView] Add pragma push/pop_macro for ARM64_FPSR to enum header
commit2c6d86209fc44ea094b9ccb514ef1fb81525bd4b
authorMartin Storsjo <martin@martin.st>
Sat, 21 Sep 2019 19:09:24 +0000 (21 19:09 +0000)
committerMartin Storsjo <martin@martin.st>
Sat, 21 Sep 2019 19:09:24 +0000 (21 19:09 +0000)
treef9e8ab3866501ffcd4457ce4d4557ee5206306c0
parent46ff2e05c57969b9cc36e3e982f9b1148252dff9
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372481 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/CodeView/CodeViewRegisters.def