Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Relative object file paths in the PDB #20

Open
nikhilm opened this issue Apr 30, 2020 · 0 comments
Open

Relative object file paths in the PDB #20

nikhilm opened this issue Apr 30, 2020 · 0 comments

Comments

@nikhilm
Copy link

nikhilm commented Apr 30, 2020

This is part feature request/part question.

Even after running the DLL and PDB through ducible, I found that the PDB hashes would differ, so the PE hashes would also differ, leading to cache misses.
Turns out that the linker writes out absolute paths to .obj files in the module info substream!
This is particularly obvious across different developer machines where their usernames are different.

Have you considered adding support to replace those with relative or fake absolute paths?
Do you know if there are any downsides of doing something like that?

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

No branches or pull requests

1 participant