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

Fix missing inlined debuginfo in switch arms #2831

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

Ekdohibs
Copy link
Contributor

The stack frame of g was otherwise missing in the following test by @ncik-roberts:

let[@inline always] f x = if x = 1 then failwith "f"

let[@inline never] g x =
  let y = x + 1 in
  f y [@nontail]

let () = g 0

@ncik-roberts ncik-roberts merged commit df38141 into ocaml-flambda:main Jul 31, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants