Closed Bug 1647839 Opened 4 years ago Closed 4 years ago

clang-11 no longer supports -coverage-no-function-names-in-data

Categories

(Testing :: Code Coverage, defect)

defect

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: away, Assigned: away)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The flag was removed in llvmorg-11-init-14426-g13a633b438b.

Marco, is this something that we could just gate on c_compiler.version < '11.0.0' in coverage_cflags or is there a deeper issue involved?

Hm, Bugzilla didn't save my needinfo flag for some reason...

Flags: needinfo?(mcastelluccio)

(In reply to :dmajor from comment #0)

The flag was removed in llvmorg-11-init-14426-g13a633b438b.

Marco, is this something that we could just gate on c_compiler.version < '11.0.0' in coverage_cflags or is there a deeper issue involved?

That should be enough, the option was removed as it is now the default behavior.

Flags: needinfo?(mcastelluccio)

In clang-11 the flag's behavior became the default, and in fact the flag is no longer accepted so we get an unrecognized option error.

Assignee: nobody → dmajor
Status: NEW → ASSIGNED
Pushed by dmajor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fabb57a60747 Don't pass -coverage-no-function-names-in-data in clang 11 r=marco
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: