-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cranelift: The clif-util run
command seems can not find the entry function
#9655
Comments
clif-util run
command does not seem to find the entry functionclif-util run
command seems can not find the entry function
I think you need to use a function name like |
The names of these functions are randomly generated, and they are named using numbers to facilitate subsequent analysis. In addition, other clif files I generated were named in a similar way and did not encounter this error. |
At wasmtime/cranelift/reader/src/parser.rs Line 2731 in 5af8930
; print directives expects a Token::Name for the name of the function. %my_func is tokenized as Token::Name . u1:0 is not tokenized as Token::Name however. Only tokens that start with % .
|
Thank you very much, I will close this issue. |
I constructed a clif file.
multi_func21_fail_to_find_function.zip
I used the following command to run it.
But I got the following error:
On line 872 I specify the name of the function to run: And the definition of
u1:0
is on line 764.The text was updated successfully, but these errors were encountered: