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

Reset debug to defaults #891

Merged
merged 2 commits into from
Mar 22, 2024
Merged

Reset debug to defaults #891

merged 2 commits into from
Mar 22, 2024

Conversation

thedataking
Copy link
Collaborator

@thedataking thedataking commented Mar 22, 2024

Fixes situations where debug builds wouldn't link without dead code elimination and resets debug builds to the defaults.

This reverts commit 18469a1 because
blocking issue #683 has now been resolved.
This change prevents us from generating function declarations for
non-existent assembly routines.
Copy link
Collaborator

@randomPoison randomPoison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah cool, I was hoping your bpc_fn! approach could be used to fix the dead code elimination requirement. Looks good to me!

@thedataking thedataking merged commit 2ddf0da into main Mar 22, 2024
36 checks passed
@thedataking thedataking deleted the perl/reset-debug-to-defaults branch March 22, 2024 20:48
@kkysen
Copy link
Collaborator

kkysen commented Mar 22, 2024

Oh, I already had a mostly complete fix for this from a while ago that I was waiting on #683 to finish. This change itself looks good, though, so it's good enough probably.

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.

enum BPC depends on opt-level >= 1 to dead-code eliminate asm fns
3 participants