Build mobile profiling builds with -funwind-tables

RESOLVED FIXED in mozilla13

Status

RESOLVED FIXED
7 years ago
a year ago

People

(Reporter: Ehsan, Assigned: Ehsan)

Tracking

unspecified
mozilla13
x86_64
Linux

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

7 years ago
Created attachment 602080 [details] [diff] [review]
Patch (v1)

On Android ARM, we need to build profiling builds with -funwind-tables so that the resulting binary would be suitable for stack walking.  This is needed for my work to port the Gecko Profiler to Fennec.
Attachment #602080 - Flags: review?(khuey)
https://hg.mozilla.org/mozilla-central/rev/f2585061410d
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
I was under the impression that the unwind tables were part of the ABI on ARM. Do they really not get produced for all functions normally?
(Assignee)

Comment 4

7 years ago
(In reply to Ted Mielczarek [:ted] from comment #3)
> I was under the impression that the unwind tables were part of the ABI on
> ARM. Do they really not get produced for all functions normally?

They are not (at least if you disable C++ exceptions.)
Assignee: nobody → ehsan

Updated

a year ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.