[CodeView] Fix the ARM64 CPUType enum
authorMartin Storsjö <martin@martin.st>
Mon, 12 Apr 2021 11:46:36 +0000 (14:46 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 13 Apr 2021 09:54:22 +0000 (12:54 +0300)
commit45f8946a759a780e6131256d6d206977b9c128ee
treee1c6e2e0d2037fd5147e6b127d6c6b41de7d63c5
parent467b1f1cd2f2774714ce59919702c3963914b6a8
[CodeView] Fix the ARM64 CPUType enum

The old, incorrect one seems to have been added in
d41ac895bb810d0b15844773cbecbf394d914010, with a similarly placed
entry added in EnumTables.cpp in
eb4d6142dcd53d79d8f8a86908a035582965fc52.

This matches the value documented at
https://docs.microsoft.com/en-us/visualstudio/debugger/debug-interface-access/cv-cpu-type-e?view=vs-2019.

This fixes running obj2yaml on an object file generated by MSVC.

Differential Revision: https://reviews.llvm.org/D100306
llvm/include/llvm/DebugInfo/CodeView/CodeView.h
llvm/lib/DebugInfo/CodeView/EnumTables.cpp