No subject
Taha Dostifam
mr.tahadostifam@gmail.com
Tue Mar 4 15:42:15 GMT 2025
Dear GNU,
I hope this message finds you well.
My name is Taha, and I am a 17-year-old software engineer with a keen
interest in compiler design and programming language implementation. I am
currently working on a personal project to develop a programming language
called *Cyrus*, utilizing GCCJIT and its compiler framework.
I have successfully implemented a variety of features in *Cyrus*, and I am
now focusing on incorporating support for variadic arguments. While
defining variadic functions works as expected, I am encountering challenges
in retrieving the list of variadic arguments. In standard C, constructs
such as `VA_LIST` and `VA_START` are typically used for this purpose.
However, when attempting to access the built-in function
`__builtin_va_start` using:
```c
gcc_jit_context_get_builtin_function(ctx, "__builtin_va_start");
```
I received the following error:
**"unimplemented primitive type for builtin (type: BT_VALIST_REF)"**
I would greatly appreciate any guidance or suggestions on how to address
this issue. Specifically, I am wondering if there is a temporary workaround
or alternative approach that I could use until this feature becomes fully
supported in GCCJIT.
Additionally, I am deeply enthusiastic about contributing to the
implementation of this feature within GCCJIT, if such an opportunity
exists. Please let me know if there are any ways I can assist or
collaborate on this matter.
Thank you for your time and support. I look forward to your response.
Best regards,
Taha.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/jit/attachments/20250304/c8f6821d/attachment.htm>
More information about the Jit
mailing list