Skip to content

Reset debug to defaults#891

Merged
thedataking merged 2 commits intomainfrom
perl/reset-debug-to-defaults
Mar 22, 2024
Merged

Reset debug to defaults#891
thedataking merged 2 commits intomainfrom
perl/reset-debug-to-defaults

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
@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