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

Missing instructions give an python internal error #55

Closed
mattgodbolt opened this issue Nov 6, 2020 · 1 comment
Closed

Missing instructions give an python internal error #55

mattgodbolt opened this issue Nov 6, 2020 · 1 comment

Comments

@mattgodbolt
Copy link

When OSACA tries to understand an instruction it doesn't recognize, it would be great to report an error instead of:

  File "/opt/compiler-explorer/osaca-0.3.10/lib/python3.8/site-packages/osaca/parser/parser_AArch64.py", line 286, in parse_line
    instruction_form[self.INSTRUCTION_ID] = result[self.INSTRUCTION_ID]
TypeError: 'NoneType' object is not subscriptable

(c.f. compiler-explorer/compiler-explorer#2319)

@cod3monk
Copy link
Member

Exception fixed in v0.3.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants