+
Skip to content

Non-zero directory index on associated compilation file for Dwarf5 Line Program #765

Closed
@crzysdrs

Description

@crzysdrs

There is an implicit assumption that LinePrograms will only have compilation directories that are the zeroeth index. When converting LinePrograms expect this to be true resulting in the error on the following line:

return Err(ConvertError::InvalidDirectoryIndex);

I've got a workaround of removing the check for the zero index (avoiding the error) and instead using it to produce the comp_dir though I suspect this may not be the entirely correct solution.

cpp_test.zip

Gimli version 28.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载