This is an archive of the discontinued LLVM Phabricator instance.

[Modules] Allow outputing BMIs in the same job as other artefacts.
AbandonedPublicDraft

Authored by iains on Feb 3 2022, 6:18 AM.

Details

Reviewers
None
Summary

This provides a base implementation for the ability to emit binary
module interfaces in the same compilation as generating object or
other output.

This part defers opening the BMI PCM file until it is actually needed.
At this point we will have parsed the TU and therefore can determine
if this job should emit both the BMI and some other artefact (in many
cases an object file).

This initial implementation assumes that the output filename for the
potential BMI will be known when the job is created.

Diff Detail

Event Timeline

iains created this revision.Feb 3 2022, 6:18 AM
iains updated this revision to Diff 536587.Jul 2 2023, 6:33 AM
iains retitled this revision from [Modules] Provide a mechanism to output CMIs in the same job as other artefacts. to [Modules] Allow outputing BMIs in the same job as other artefacts..
iains edited the summary of this revision. (Show Details)

rebased and updated to change 'CMI' to 'BMI' in the text.

Herald added a project: Restricted Project. · View Herald TranscriptJul 2 2023, 6:33 AM
iains abandoned this revision.Oct 3 2023, 1:28 AM

this will be updated and moved to a pull request

Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2023, 1:28 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript