-
Notifications
You must be signed in to change notification settings - Fork 3.4k
No local variable name info with -g4 in Emscripten 1.37.0 #5094
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
Comments
That's surprising, do you have a testcase showing the issue? |
I use the llvm-dis to transform bc to assembler, and find the local variable name info has lost. So I guess it is because the upgrade of llvm. A a testcase hello_world.cpp compile command The javascript code. local variable “local_val” was transformed with "$2" |
LLVM updates can change that, but on latest incoming (1.37.9), I see this output:
Looks like |
OK, thanks |
After upgrade Emscripten from 1.35 to 1.37, the JS code generate by -g4 has no local variable name info, it looks like they were minimized when compiled to BC. Is there any method to keep these info?
Thanks.
The text was updated successfully, but these errors were encountered: