[all-commits] [llvm/llvm-project] 45f894: [CodeView] Fix the ARM64 CPUType enum

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Apr 13 02:54:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45f8946a759a780e6131256d6d206977b9c128ee
      https://github.com/llvm/llvm-project/commit/45f8946a759a780e6131256d6d206977b9c128ee
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M llvm/include/llvm/DebugInfo/CodeView/CodeView.h
    M llvm/lib/DebugInfo/CodeView/EnumTables.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list