Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip DWARF variable info for complicated functions #1718

Merged

Conversation

mshinwell
Copy link
Collaborator

This adds a complexity threshold, measured in the number of stack slots used by a function, above which the register availability computations for DWARF variable info will be skipped. The default is 50 stack slots, which seems quite generous. We may in due course be able to remove this, but at present, there are compilation speed problems on particularly large examples. A command-line flag is provided in case an exemption is required.

@mshinwell mshinwell force-pushed the dwarf-function-stack-slot-limit branch 2 times, most recently from c8bba74 to 6df16ef Compare August 10, 2023 15:17
@mshinwell mshinwell force-pushed the dwarf-function-stack-slot-limit branch from 6df16ef to 800814c Compare August 10, 2023 15:18
@mshinwell mshinwell merged commit 7bd05dd into ocaml-flambda:main Aug 10, 2023
17 checks passed
tonowak pushed a commit to tonowak/flambda-backend that referenced this pull request Aug 11, 2023
Ekdohibs pushed a commit to Ekdohibs/flambda-backend that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants