-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix crash on accessing function parameters #3
Comments
In an attempt to clarify the problem with #3.
Hey @rhenwood39—in the above commit, I tried exploring your hypothesis that constructing the argument types for |
Wait a second! I actually had just not waited long enough for my
🎉 |
Awesome! |
It looks like it still complains when you actually try to call a function though. I'll take a look at that later. |
I suppose that makes sense—in this Lines 100 to 102 in 0367634
we'll need to use the same trick to build up a C array of pointers from the JavaScript array of objects. Maybe this stanza: Lines 240 to 246 in 0367634
should be put into a helper function and reused there? |
Got it working :) I think we are going to have to go through llvm.ts eventually and convert the voidpp's, etc. to PointerArrays where appropriate. I think we have an issue open regarding that, so I'll make a follow-up note there. |
We're currently hitting a segfault when trying to iterate over the arguments of a newly-constructed function. Here's a piece of the traceback, from LLDB:
The text was updated successfully, but these errors were encountered: