镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

resolve_indirect() does not resolve indirect encodings #61

Open

Description

@holinux

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");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions