Skip to content

Conversation

@abroooo
Copy link

@abroooo abroooo commented Nov 12, 2025

Description

The debug info can now create enumeration types and enumerators.

Related Issue

Implements #622

How This Has Been Tested

Added unit test to show underlying llvm api is correctly called and the module with the DI builder is valid.

Option<Breaking Changes>

Checklist

@abroooo abroooo force-pushed the abroooo/enumeration_type branch from bd99ad3 to cf70ab7 Compare November 12, 2025 11:03
@abroooo abroooo force-pushed the abroooo/enumeration_type branch from cf70ab7 to 9b2a2c7 Compare November 12, 2025 11:07
@TheDan64 TheDan64 self-requested a review November 20, 2025 17:24
@TheDan64 TheDan64 added this to the 0.8.0 milestone Nov 20, 2025
Copy link
Owner

@TheDan64 TheDan64 left a comment

Choose a reason for hiding this comment

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

This looks good functionally but is failing on some LLVM versions and needs to be fixed

LLVMDIBuilderCreateEnumerator was added in LLVM 9.0 =>
  guard create_enumerator, create_enumeration_type, and test.
@abroooo abroooo requested a review from TheDan64 November 23, 2025 23:46
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.

2 participants