Closed Bug 267576 Opened 20 years ago Closed 20 years ago

--enable-quantify configure option should imply /OPT:NOICF

Categories

(SeaMonkey :: Build Config, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bryner, Assigned: bryner)

Details

Attachments

(1 file)

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.
Attached patch patchSplinter Review
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.
checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: