Skip to content

Draft: Adds Flags for Writing/Reading Codegen Pragmas

Aaron Allen requested to merge aaronallen8455/ghc:wip/T17931 into master

Adds two flags, -fwrite-codegen-pragmas and -fread-codegen-pragmas, which ensure that codegen pragmas (currently only CAF status and LambdaFormInfo) are written to and read from interface files respectively.

I have verified that the flags behave as expected but am unsure of how to add a test for it.

Implements #17931

Edited by Andreas Klebinger

Merge request reports