Skip to content

Invalid Paths in generated PDB files #17501

@AsgardXIV

Description

@AsgardXIV

Zig Version

0.12.0-dev.890+8c6b0271c

Steps to Reproduce and Observed Behavior

Create a shared library with a zig file in a subfolder (say src/test/test.zig) and ensure it is being used so it's not stripped.
Observe the generated PDB file, it will have a reference to say D:\Development\ZigSandbox\src\test\test\test.zig instead of D:\Development\ZigSandbox\src\test\test.zig, adding the final directory twice.

This worked correctly in 0.12.0-dev.817 so looks like some kind of regression.

Expected Behavior

The embedded path should be correct.

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