Closed Bug 1423791 Opened 7 years ago Closed 7 years ago

Remove clang-cl workarounds from xptcstubs.cpp

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: away, Assigned: away)

References

Details

Attachments

(1 file)

clang-cl/lld-link with ThinLTO don't like the asm in xptcstubs.cpp: https://bugs.llvm.org/show_bug.cgi?id=35482

But we don't actually need that code anymore. It was written when clang-cl couldn't handle __declspec(naked). That works now, so let's just use the original codepath.
Attached patch xptcstubsSplinter Review
Jeff, in the absence of Ehsan and Nathan, want to take this review?
Assignee: nobody → dmajor
Attachment #8935467 - Flags: review?(jmuizelaar)
Comment on attachment 8935467 [details] [diff] [review]
xptcstubs

Review of attachment 8935467 [details] [diff] [review]:
-----------------------------------------------------------------

Nice.
Attachment #8935467 - Flags: review?(jmuizelaar) → review+
Pushed by dmajor@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c15ae7b51eae
Remove clang-cl workarounds from xptcstubs.cpp. r=jrmuizel
https://hg.mozilla.org/mozilla-central/rev/c15ae7b51eae
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
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: