AVX-512 introduces 16 new YMM registers, as well as 32 ZMM registers. These are already in our X86 target register description file, so our code generator was trying to use them, and then failing to find a mapping to the corresponding CodeView registers when emitting debug info. I pulled these values from the latest version of cvconst.h that ships with the DIA SDK. After making this change, I can recompile an application which was previously crashing, and it no longer crashes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/include/llvm/DebugInfo/CodeView/CodeViewRegisters.def | ||
---|---|---|
270 ↗ | (On Diff #160939) | As a follow up after you land this, I want to remove this CVReg prefix from the .def file that was added in rL333421. @JDevlieghere I don't like how it affects our dumped output. Instead the enum should token paste CVReg onto each register name. |