Closed Bug 1617389 Opened 6 years ago Closed 5 years ago

When generating compile_commands.json, insert -ferror-limit before the file name

Categories

(Firefox Build System :: General, enhancement, P3)

enhancement

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(1 file)

In bug 1612657 I changed the code that generates compile_commands.json to add a clang argument to the "command" field. I did that by appending to the array of existing arguments. Unfortunately doing that meant that the name of the source file is no longer the last thing in the "command" field, and so is now more difficult to spot. We should move the argument that I added to come before the file name to avoid this.

This makes it easier to see the name of the file in the "command" field.

Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/autoland/rev/0d0a897c9219 When generating compile_commands.json, insert -ferror-limit before the file name. r=botond
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: