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

resolve_indirect() does not resolve indirect encodings #61

Open
holinux opened this issue Aug 26, 2021 · 0 comments
Open

resolve_indirect() does not resolve indirect encodings #61

holinux opened this issue Aug 26, 2021 · 0 comments

Comments

@holinux
Copy link

holinux commented Aug 26, 2021

DW_FORM form;

In function value::resolve_indirect(DW_AT name) a local variable DW_FORM form is defined, so the resolve is performed on this local variable. The attribute DW_FORM form in class Value is not changed at all.

Due to this, I see an issue that when the form is indirect, it throws exception in function value::as_reference():
throw value_type_mismatch("cannot read " + to_string(typ) + " as reference");

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

1 participant