The ICF optimization in the MSVC linker allows it to point identical methods at the same address, which is a code size savings. However, this is bad for Quantify, since you don't know which of the methods was actually called. So I think we should turn this optimization off when using --enable-quantify.
Attachment #164500 - Flags: review?(dbaron)
Brendan might want this off unconditionally -- I remember him complaining about function pointer equality a while back -- I'm not sure how he solved the bug in question.
Attachment #164500 - Flags: review?(dbaron) → review+
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.