Skip to content
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

Code generator fails to infer end offsets of some EH ranges #17

Closed
BabiKoqi opened this issue Oct 13, 2019 · 3 comments
Closed

Code generator fails to infer end offsets of some EH ranges #17

BabiKoqi opened this issue Oct 13, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@BabiKoqi
Copy link

BabiKoqi commented Oct 13, 2019

test.zip
Can You please analyse this and tell me why does it fail recompiling
this is the verbose for it.
verbose.txt

@BabiKoqi BabiKoqi added the bug Something isn't working label Oct 13, 2019
@Washi1337
Copy link
Owner

Hi,

Thanks for the report. From a quick glance, this sample seems to be the cause of multiple, possibly unrelated, errors. Therefore, I will probably split up this issue in multiple smaller issues in the near future.

Regards

@Washi1337
Copy link
Owner

Washi1337 commented Oct 16, 2019

I just pushed a fix for the IndexOutOfRangeExceptions together with all warnings. There still seems to be wrong with exception handler range detection of which I haven't been able to reproduce in a smaller sample yet. It seems to be related to a combination of a using statement and a try-catch construct.

For now, you still need to use --salvage for your sample, but at least the problem is reduced to only 3 methods.

@BabiKoqi
Copy link
Author

thank you very much, good luck :)

@Washi1337 Washi1337 changed the title failing to recompile Code generator fails to infer end offsets of some EH ranges Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants