I suspect (but do not know) that all a debug link does is to preserve
any symbolic debug information from the object files or libraries and
create a PDB file for the final linked item. The fact that we humans
consider as a DEBUG or RETAIL build is fairly irrelevent.
Certainly it is a useful feature. For example you can build a retail
version of a driver and link it with a debug build of the OS, for
testing a driver build and you can still gain access to all of the
symbolic information in the release build driver. If the linker lost
this information then it wouldn't be possible to do this.
Regards,
Andrew.
On Mar 19, 3:24 pm, Steffen.K <Steff...@>