Skip to content

Support debug info of 128-bit enum members#15770

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:feature/128-bit-enum-debug-info
May 15, 2025
Merged

Support debug info of 128-bit enum members#15770
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:feature/128-bit-enum-debug-info

Conversation

@HertzDevil
Copy link
Contributor

On the LLVM 21 development branch, the LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision function (which I submitted to LLVM) supports enumerators larger than the 64 bits that LLVMDIBuilderCreateEnumerator can handle.

The underlying C++ implementation can be backported all the way back to LLVM 13, but if we added it to llvm_ext.cc, this would create an awkward situation where version 18 to 20 would miss out for no apparent reason. Thus this PR requires LLVM 21 or above.

@straight-shoota straight-shoota added this to the 1.17.0 milestone May 12, 2025
@straight-shoota straight-shoota merged commit 445ef91 into crystal-lang:master May 15, 2025
44 checks passed
@HertzDevil HertzDevil deleted the feature/128-bit-enum-debug-info branch May 20, 2025 07:27
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