If I build a DLL from a set of C++ headers and sources using MSVC, and generate an import library for the DLL, does that import library represent the ABI for the DLL? More specifically:
- If I make a non-ABI affecting change to the sources and rebuild the DLL, is the newly generated import library always equivalent (mod metadata like timestamps) to the prior import library?
- If I make an ABI affecting change to the sources and rebuild the DLL, is the newly generated import library always distinct (again, mod metadata) from the previously generated import library?
In other words, can I use the contents of the import library to reliably detect changes, or lack thereof, to the ABI of a DLL? Or are there ABI affecting changes I might make that could result in the same import library content, or non-ABI affecting changes I might make that could result in distinct import library content?