Closed Bug 1171125 Opened 10 years ago Closed 10 years ago

Fix nsStackWalk to build for iOS

Categories

(Core :: XPCOM, defect)

Unspecified
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: ted, Assigned: ted)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I don't actually know if it works, but I got it to build.
bug 1171125 - Fix nsStackWalk to build for iOS. r?froydnj
Attachment #8614850 - Flags: review?(nfroyd)
I just realized there's a TODO left in that patch, but I don't know what for. I think this code only builds for the iOS simulator given the __i386__ || __ppc__ bit (although it's possible I have HAVE__UNWIND_BACKTRACE on iOS).
I don't see it in mozilla-config.h, so I'm guessing this code doesn't build for arm-darwin.
Comment on attachment 8614850 [details] MozReview Request: bug 1171125 - Fix nsStackWalk to build for iOS. r?froydnj https://reviewboard.mozilla.org/r/10083/#review8877 r=me with one small change. ::: xpcom/base/nsStackWalk.cpp:56 (Diff revision 1) > +//TODO Since this code apparently doesn't build on iOS, given NSSTACKWALK_SUPPORTS_MACOSX is false, can you make this TODO an #error, so that if somebody naively tries to enable this, they'll know there are other things to fix?
Attachment #8614850 - Flags: review?(nfroyd) → review+
https://reviewboard.mozilla.org/r/10083/#review9107 ::: xpcom/base/nsStackWalk.cpp:56 (Diff revision 1) > +//TODO Actually I think that include is only for the Gestalt that's used for OSXVersion(), so I'm just going to remove the else/TODO bits.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: