I believe the following commit has regressed the building of C++ binaries using Visual Studio and the MSVC toolchain for ARM64EC specifically. We receive a linker error that relates to the additional vftable exports that now get added to the DEF file; the error is a result of said entries not containing the DATA keyword.
I am thinking that perhaps the vftable symbols should be added to the DataSymbols container instead of Symbols, where I suspect they would organically get the required DATA keyword.
Wanting to vet this on the forum before filing an issue.
That commit added a data symbol to the exports and revealed that WINDOWS_EXPORT_ALL_SYMBOLS needs implementation updates to handle data symbols for tools targeting ARM64EC. See CMake Issue 26604.