Closed Bug 1525630 Opened 5 years ago Closed 5 years ago

choose the correct frame pointer enablement options on aarch64 windows

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

clang-cl doesn't currently support -Oy correctly, so we need to resort
to the GNU-ish based spelling.

Comment on attachment 9041837 [details] [diff] [review]
choose the correct frame pointer enablement options on aarch64 windows

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

Ugh, I copypasta'd...but -Xclang -fomit-frame-pointer throws errors, so clearly I'm doing something else wrong.
Attachment #9041837 - Flags: review?(dmajor)

Yes - I was going to ask you to show me the resulting .sym files from a try build. I'm not convinced that this is going to work...

This appears to work better, insofar as the compiler accepts it.  I'm not
completely convinced that we're actually reading minidumps correctly, though;
I'll try to write out findings on that tomorrow.
Attachment #9041946 - Flags: review?(dmajor)
Attachment #9041837 - Attachment is obsolete: true
Comment on attachment 9041946 [details] [diff] [review]
choose the correct frame pointer enablement options on aarch64 windows

The code itself seems fine, but let's figure out why about:crashparent is unhappy before landing this.
Attachment #9041946 - Flags: review?(dmajor)
Comment on attachment 9041946 [details] [diff] [review]
choose the correct frame pointer enablement options on aarch64 windows

I'm not able to figure out why about:crash{parent,content} isn't working, because I can't convince windbg to give me a reasonable debug experience with symbols.  Can we land this patch so that we can see if we get reasonable crash reports with it, and leave the about:crash* issues to another bug?
Attachment #9041946 - Flags: review?(dmajor)

Try one more thing: comment out this line, it will make your browser quite crashy. https://searchfox.org/mozilla-central/source/js/src/jit/arm64/vixl/MozCpu-vixl.cpp#52

Comment on attachment 9041946 [details] [diff] [review]
choose the correct frame pointer enablement options on aarch64 windows

This can be a straight revert the next time we pick up clang, right?
Attachment #9041946 - Flags: review?(dmajor) → review+

(In reply to David Major [:dmajor] from comment #8)

Comment on attachment 9041946 [details] [diff] [review]
choose the correct frame pointer enablement options on aarch64 windows

This can be a straight revert the next time we pick up clang, right?

Assuming we upgrade to 8.0, yes.

Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6f86eefc83a5
choose the correct frame pointer enablement options on aarch64 windows; r=dmajor
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Regressions: 1561822
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: