Closed Bug 1311211 Opened 9 years ago Closed 9 years ago

Disable -Gw optimizations when building for ASan

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox52 fixed)

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: away, Assigned: away)

References

Details

Attachments

(1 file, 1 obsolete file)

When the -Gw optimization folds together identical data objects (e.g. vtables), it upsets ASan's ODR violation detector.
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → dmajor
Attachment #8802617 - Flags: review?(mh+mozilla)
Attached patch patchSplinter Review
Comment fix that I forgot to qref
Attachment #8803994 - Flags: review?(mh+mozilla)
Attachment #8802617 - Attachment is obsolete: true
Attachment #8802617 - Flags: review?(mh+mozilla)
Attachment #8803994 - Flags: review?(mh+mozilla) → review+
Pushed by dmajor@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/82104756f2c2 Disable -Gw optimization when building for ASan on Windows. r=glandium
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: