You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following along with the tutorial using llvm-hs-5.1.0 and llvm-hs-pure-5.1.0 and with the exception of a few minor issues between the versions, most things are working correctly.
However, I am stuck on an error I am getting when trying to call a previously defined function.
I am following along with the tutorial using
llvm-hs-5.1.0
andllvm-hs-pure-5.1.0
and with the exception of a few minor issues between the versions, most things are working correctly.However, I am stuck on an error I am getting when trying to call a previously defined function.
Using the code up to chapter 3 I can do
I believe the problem is from trying to create the constant global reference operand in the
externf
function.I can fix the error when supplying a type
However, this is very specific to this exact function. Preferably, the type would be determined automatically.
So in summary, how can I find the type of the function I am calling so I can pass it into
externf
?Note: This error has been added in
llvm-hs
5.0 https://github.com/llvm-hs/llvm-hs/blob/4b8269a3be55e84a75de41cdc481c589d161b7f3/llvm-hs/test/LLVM/Test/Regression.hs#L98The text was updated successfully, but these errors were encountered: